about summary refs log tree commit diff
path: root/pkgs/tools
diff options
context:
space:
mode:
authorAaron Jheng <wentworth@outlook.com>2022-04-16 02:08:15 +0000
committerAaron Jheng <wentworth@outlook.com>2022-04-16 02:08:15 +0000
commitf1ae889cc21b7cfa5b3c1c5598888f3a73047368 (patch)
tree330644145e305587a8cc9c758947b94fa35ce2e8 /pkgs/tools
parentd65737159901111d459efba97c19564c6d6d157b (diff)
kt: 12.1.0 -> 13.1.0
Diffstat (limited to 'pkgs/tools')
-rw-r--r--pkgs/tools/misc/kt/default.nix14
1 files changed, 9 insertions, 5 deletions
diff --git a/pkgs/tools/misc/kt/default.nix b/pkgs/tools/misc/kt/default.nix
index e4713890ac40f..3e9bac0e09e9c 100644
--- a/pkgs/tools/misc/kt/default.nix
+++ b/pkgs/tools/misc/kt/default.nix
@@ -1,17 +1,21 @@
-{ lib, fetchFromGitHub, buildGoPackage }:
+{ lib, fetchFromGitHub, buildGoModule }:
 
-buildGoPackage rec {
+buildGoModule rec {
   pname = "kt";
-  version = "12.1.0";
+  version = "13.1.0";
 
   src = fetchFromGitHub {
     owner = "fgeller";
     repo = "kt";
     rev = "v${version}";
-    sha256 = "014q39bg88vg1xdq1bz6wj982zb148sip3a42hbrinh8qj41y4yg";
+    sha256 = "sha256-1UGsiMMmAyIQZ62hNIi0uzyX2uNL03EWupIazjznqDc=";
   };
 
-  goPackagePath = "github.com/fgeller/kt";
+  vendorSha256 = "sha256-PeNpDro6G78KLN6B2CDhsTKamRTWQyxPJYWuuv6sUyw=";
+
+  ldflags = [ "-s" "-w" ];
+
+  doCheck = false;
 
   meta = with lib; {
     description = "Kafka command line tool";