From db6a2918b9427f8f82c025e7f7aac4c5ed138f7a Mon Sep 17 00:00:00 2001 From: Utku Demir Date: Mon, 3 Apr 2017 15:54:04 +1200 Subject: [PATCH] kt: init at 11.1.0 --- lib/maintainers.nix | 1 + pkgs/tools/misc/kt/default.nix | 22 ++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 3 files changed, 25 insertions(+) create mode 100644 pkgs/tools/misc/kt/default.nix diff --git a/lib/maintainers.nix b/lib/maintainers.nix index e639eb5aefb2..fb526ec05ba4 100644 --- a/lib/maintainers.nix +++ b/lib/maintainers.nix @@ -521,6 +521,7 @@ tvorog = "Marsel Zaripov "; twey = "James ‘Twey’ Kay "; uralbash = "Svintsov Dmitry "; + utdemir = "Utku Demir "; #urkud = "Yury G. Kudryashov "; inactive since 2012 uwap = "uwap "; vandenoever = "Jos van den Oever "; diff --git a/pkgs/tools/misc/kt/default.nix b/pkgs/tools/misc/kt/default.nix new file mode 100644 index 000000000000..738eceb20a0e --- /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 1fb20dab34d7..6ae96cf5f149 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 { };