From 6a867ed7e3210b74ee836874afcb59a7614a60f5 Mon Sep 17 00:00:00 2001
From: liyangau
Date: Fri, 27 Sep 2024 10:42:01 +1000
Subject: [PATCH 1/2] deck: 1.40.1 -> 1.40.2
---
pkgs/by-name/de/deck/package.nix | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/pkgs/by-name/de/deck/package.nix b/pkgs/by-name/de/deck/package.nix
index d93351657820..2e6862165274 100644
--- a/pkgs/by-name/de/deck/package.nix
+++ b/pkgs/by-name/de/deck/package.nix
@@ -2,13 +2,13 @@
buildGoModule rec {
pname = "deck";
- version = "1.40.1";
+ version = "1.40.2";
src = fetchFromGitHub {
owner = "Kong";
repo = "deck";
rev = "v${version}";
- hash = "sha256-wb7/g1g7gxKhZyK7GW+6aGwuD+Dkcdg2Zpc0JCxVPjM=";
+ hash = "sha256-qLWDZEYO/0as2+4OM6/FAJcN+vnRBrcx59uHRkougLQ=";
};
nativeBuildInputs = [ installShellFiles ];
@@ -21,7 +21,7 @@ buildGoModule rec {
];
proxyVendor = true; # darwin/linux hash mismatch
- vendorHash = "sha256-8o3jXkhfRIGGPtw8ow+NyAYAuCJNrBlSyfdSI0pjvDQ=";
+ vendorHash = "sha256-RkhpR9sKWaO1jceCU4sS4TmxS5giq2uUIkiHNnahQZw=";
postInstall = ''
installShellCompletion --cmd deck \
From 96b21f730b24438123f2d94e2a2d9f995a5791fc Mon Sep 17 00:00:00 2001
From: liyangau
Date: Fri, 27 Sep 2024 14:01:02 +1000
Subject: [PATCH 2/2] deck: add meta.mainProgram
---
pkgs/by-name/de/deck/package.nix | 1 +
1 file changed, 1 insertion(+)
diff --git a/pkgs/by-name/de/deck/package.nix b/pkgs/by-name/de/deck/package.nix
index 2e6862165274..c1cdcf6f7070 100644
--- a/pkgs/by-name/de/deck/package.nix
+++ b/pkgs/by-name/de/deck/package.nix
@@ -34,6 +34,7 @@ buildGoModule rec {
description = "Configuration management and drift detection tool for Kong";
homepage = "https://github.com/Kong/deck";
license = licenses.asl20;
+ mainProgram = "deck";
maintainers = with maintainers; [ liyangau ];
};
}