File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed
pkgs/by-name/de/deepcool-digital-linux Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ rustPlatform ,
4+ fetchFromGitHub ,
5+ pkg-config ,
6+ libudev-zero ,
7+ versionCheckHook ,
8+ nix-update-script ,
9+ } :
10+ rustPlatform . buildRustPackage ( finalAttrs : {
11+ pname = "deepcool-digital-linux" ;
12+ version = "0.8.3-alpha" ;
13+
14+ src = fetchFromGitHub {
15+ owner = "Nortank12" ;
16+ repo = "deepcool-digital-linux" ;
17+ tag = "v${ finalAttrs . version } " ;
18+ hash = "sha256-Whmjd6NCOUkE7hM3FaN7grMwcC/suL7AJDVSgnZSKzM=" ;
19+ } ;
20+
21+ cargoHash = "sha256-K1pEbUyENPUS4QK0lztWmw8ov1fGrx8KHdODmSByfek=" ;
22+
23+ buildInputs = [ libudev-zero ] ;
24+
25+ nativeBuildInputs = [
26+ pkg-config
27+ ] ;
28+
29+ doInstallCheck = false ; # FIXME: version cmd returns 0.8.3, set to true when we switch to a stable version
30+ nativeInstallCheckInputs = [ versionCheckHook ] ;
31+ versionCheckProgramArg = "--version" ;
32+
33+ passthru . updateScript = nix-update-script { } ;
34+
35+ meta = {
36+ changelog = "https://github.com/Nortank12/deepcool-digital-linux/releases/tag/v${ finalAttrs . version } " ;
37+ description = "Linux version for the DeepCool Digital Windows software" ;
38+ homepage = "https://github.com/Nortank12/deepcool-digital-linux" ;
39+ license = lib . licenses . gpl3Only ;
40+ maintainers = with lib . maintainers ; [ NotAShelf ] ;
41+ mainProgram = "deepcool-digital-linux" ;
42+ platforms = lib . platforms . linux ;
43+ } ;
44+ } )
You can’t perform that action at this time.
0 commit comments