Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 buildGoModule, 3 fetchFromGitHub, 4 lib, 5 nix-update-script, 6}: 7buildGoModule (finalAttrs: { 8 pname = "rcon-cli"; 9 version = "1.7.1"; 10 11 src = fetchFromGitHub { 12 owner = "itzg"; 13 repo = "rcon-cli"; 14 tag = finalAttrs.version; 15 hash = "sha256-72wlcQ57OuFS8CWIDMavdFGy5jWlBbzIjgdqeP7fbg0="; 16 }; 17 18 vendorHash = "sha256-RX3tCZID9xS4zHQYGyAarmI2jbUwZEFWzo0lh7h3f1s="; 19 subPackages = [ "." ]; 20 21 passthru.updateScript = nix-update-script { }; 22 23 meta = { 24 description = "Little RCON cli based on james4k's RCON library for golang"; 25 homepage = "https://github.com/itzg/rcon-cli"; 26 changelog = "https://github.com/itzg/rcon-cli/releases/tag/${finalAttrs.version}"; 27 license = lib.licenses.asl20; 28 maintainers = with lib.maintainers; [ 29 link00000000 30 ]; 31 mainProgram = "rcon-cli"; 32 }; 33})