Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 29 lines 619 B view raw
1{ 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5}: 6 7buildGoModule rec { 8 pname = "kcli"; 9 version = "1.8.3"; 10 11 src = fetchFromGitHub { 12 owner = "cswank"; 13 repo = "kcli"; 14 rev = version; 15 sha256 = "0whijr2r2j5bvfy8jgmpxsa0zvwk5kfjlpnkw4za5k35q7bjffls"; 16 }; 17 18 vendorHash = null; 19 20 subPackages = [ "." ]; 21 22 meta = with lib; { 23 description = "Kafka command line browser"; 24 homepage = "https://github.com/cswank/kcli"; 25 license = licenses.mit; 26 maintainers = with maintainers; [ cswank ]; 27 broken = true; # vendor isn't reproducible with go > 1.17: nix-build -A $name.goModules --check 28 }; 29}