File tree Expand file tree Collapse file tree 2 files changed +20
-8
lines changed
Expand file tree Collapse file tree 2 files changed +20
-8
lines changed Original file line number Diff line number Diff line change 1- { buildGoModule , lib , installShellFiles , fetchFromGitHub } :
1+ {
2+ buildGoModule ,
3+ lib ,
4+ installShellFiles ,
5+ fetchFromGitHub ,
6+ nix-update-script ,
7+ } :
28
39buildGoModule rec {
410 pname = "deck" ;
5- version = "1.40.2 " ;
11+ version = "1.40.3 " ;
612
713 src = fetchFromGitHub {
814 owner = "Kong" ;
915 repo = "deck" ;
10- rev = "v${ version } " ;
11- hash = "sha256-qLWDZEYO/0as2+4OM6/FAJcN+vnRBrcx59uHRkougLQ =" ;
16+ rev = "refs/tags/ v${ version } " ;
17+ hash = "sha256-n6WASCtDwBX4FASSWI17JpU7rDXIeSidPWhj/MB2tUs =" ;
1218 } ;
1319
1420 nativeBuildInputs = [ installShellFiles ] ;
@@ -21,7 +27,7 @@ buildGoModule rec {
2127 ] ;
2228
2329 proxyVendor = true ; # darwin/linux hash mismatch
24- vendorHash = "sha256-RkhpR9sKWaO1jceCU4sS4TmxS5giq2uUIkiHNnahQZw =" ;
30+ vendorHash = "sha256-csoSvu7uce1diB4EsQCRRt08mX+rJoxfZqAtaoo0x4M =" ;
2531
2632 postInstall = ''
2733 installShellCompletion --cmd deck \
@@ -30,11 +36,13 @@ buildGoModule rec {
3036 --zsh <($out/bin/deck completion zsh)
3137 '' ;
3238
33- meta = with lib ; {
39+ passthru . updateScript = nix-update-script { } ;
40+
41+ meta = {
3442 description = "Configuration management and drift detection tool for Kong" ;
3543 homepage = "https://github.com/Kong/deck" ;
36- license = licenses . asl20 ;
44+ license = lib . licenses . asl20 ;
3745 mainProgram = "deck" ;
38- maintainers = with maintainers ; [ liyangau ] ;
46+ maintainers = with lib . maintainers ; [ liyangau ] ;
3947 } ;
4048}
Original file line number Diff line number Diff line change @@ -534,6 +534,10 @@ with pkgs;
534534
535535 dcgm = callPackage ../os-specific/linux/dcgm { };
536536
537+ deck = callPackage ../by-name/de/deck/package.nix {
538+ buildGoModule = buildGo123Module;
539+ };
540+
537541 dhallDirectoryToNix = callPackage ../build-support/dhall/directory-to-nix.nix { };
538542
539543 dhallPackageToNix = callPackage ../build-support/dhall/package-to-nix.nix { };
You can’t perform that action at this time.
0 commit comments