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