1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-24 02:46:38 +00:00
nixpkgs/pkgs/tools/misc/kt/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

24 lines
557 B
Nix

{ stdenv, fetchFromGitHub, buildGoPackage }:
buildGoPackage rec {
pname = "kt";
version = "12.1.0";
src = fetchFromGitHub {
owner = "fgeller";
repo = "kt";
rev = "v${version}";
sha256 = "014q39bg88vg1xdq1bz6wj982zb148sip3a42hbrinh8qj41y4yg";
};
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;
license = licenses.mit;
};
}