Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildGoModule 3, fetchFromGitHub 4}: 5 6buildGoModule rec { 7 pname = "fits-cloudctl"; 8 version = "0.11.7"; 9 10 src = fetchFromGitHub { 11 owner = "fi-ts"; 12 repo = "cloudctl"; 13 rev = "v${version}"; 14 sha256 = "sha256-wsv1d7CdrZeAOgY0a0L1ZjSJVahtfDsOzKaz3Uu2RWM="; 15 }; 16 17 vendorHash = "sha256-/lDhvmeeEiXP+mihrz6076Cm/29UeJ0QH9GW3hIHKB8="; 18 19 meta = with lib; { 20 description = "Command-line client for FI-TS Finance Cloud Native services"; 21 homepage = "https://github.com/fi-ts/cloudctl"; 22 license = licenses.mit; 23 maintainers = with maintainers; [ j0xaf ]; 24 mainProgram = "cloudctl"; 25 }; 26}