summary refs log tree commit diff
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2017-04-03 09:33:46 +0200
committerGitHub <noreply@github.com>2017-04-03 09:33:46 +0200
commita054f6c0769181d36145011c7bde97d3ada66fd0 (patch)
tree7be2d21e9a085ade4203d8ef38e8d553c8d76cf4
parentb6036c95d069e074eaa408e5f2ca2a84f49278ba (diff)
parentdb6a2918b9427f8f82c025e7f7aac4c5ed138f7a (diff)
downloadnixpkgs-a054f6c0769181d36145011c7bde97d3ada66fd0.tar
nixpkgs-a054f6c0769181d36145011c7bde97d3ada66fd0.tar.gz
nixpkgs-a054f6c0769181d36145011c7bde97d3ada66fd0.tar.bz2
nixpkgs-a054f6c0769181d36145011c7bde97d3ada66fd0.tar.lz
nixpkgs-a054f6c0769181d36145011c7bde97d3ada66fd0.tar.xz
nixpkgs-a054f6c0769181d36145011c7bde97d3ada66fd0.tar.zst
nixpkgs-a054f6c0769181d36145011c7bde97d3ada66fd0.zip
Merge pull request #24585 from utdemir/master
kt: init at 11.1.0
-rw-r--r--lib/maintainers.nix1
-rw-r--r--pkgs/tools/misc/kt/default.nix22
-rw-r--r--pkgs/top-level/all-packages.nix2
3 files changed, 25 insertions, 0 deletions
diff --git a/lib/maintainers.nix b/lib/maintainers.nix
index e639eb5aefb..fb526ec05ba 100644
--- a/lib/maintainers.nix
+++ b/lib/maintainers.nix
@@ -521,6 +521,7 @@
   tvorog = "Marsel Zaripov <marszaripov@gmail.com>";
   twey = "James ‘Twey’ Kay <twey@twey.co.uk>";
   uralbash = "Svintsov Dmitry <root@uralbash.ru>";
+  utdemir = "Utku Demir <me@utdemir.com>";
   #urkud = "Yury G. Kudryashov <urkud+nix@ya.ru>"; inactive since 2012
   uwap = "uwap <me@uwap.name>";
   vandenoever = "Jos van den Oever <jos@vandenoever.info>";
diff --git a/pkgs/tools/misc/kt/default.nix b/pkgs/tools/misc/kt/default.nix
new file mode 100644
index 00000000000..738eceb20a0
--- /dev/null
+++ b/pkgs/tools/misc/kt/default.nix
@@ -0,0 +1,22 @@
+{ stdenv, fetchFromGitHub, buildGoPackage }:
+
+buildGoPackage rec {
+  name = "kt-${version}";
+  version = "11.1.0";
+
+  src = fetchFromGitHub {
+    owner = "fgeller";
+    repo = "kt";
+    rev = "v${version}";
+    sha256 = "1ymygd3l5pfbnjmdjcrspj520v29hnv3bdgxpim38dpv3qj518vq";
+  };
+
+  goPackagePath = "github.com/fgeller/kt";
+
+  meta = with stdenv.lib; {
+    description = "Kafka command line tool";
+    homepage = https://github.com/fgeller/kt;
+    maintainers = with maintainers; [ utdemir ];
+    platforms = with platforms; unix;
+  };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index fe3cc43f208..43368d83472 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -6219,6 +6219,8 @@ with pkgs;
   apacheKafka_0_9 = callPackage ../servers/apache-kafka { majorVersion = "0.9"; };
   apacheKafka_0_10 = callPackage ../servers/apache-kafka { majorVersion = "0.10"; };
 
+  kt = callPackage ../tools/misc/kt {};
+
   asn2quickder = callPackage ../development/tools/asn2quickder {};
 
   astyle = callPackage ../development/tools/misc/astyle { };