Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 buildGoModule, 3 fetchFromGitHub, 4 lib, 5}: 6 7buildGoModule rec { 8 pname = "summon"; 9 version = "0.10.5"; 10 11 src = fetchFromGitHub { 12 owner = "cyberark"; 13 repo = "summon"; 14 rev = "v${version}"; 15 hash = "sha256-m4aLGEUXBakfp+KwUZBmNzFEHuG58ZuWQFF5TmUM7pM="; 16 }; 17 18 vendorHash = "sha256-QOCPATTs2vvww+ekt6HFg2IUA/NFmE8+2WkMby2f/OE="; 19 20 subPackages = [ "cmd" ]; 21 22 postInstall = '' 23 mv $out/bin/cmd $out/bin/summon 24 ''; 25 26 meta = with lib; { 27 description = "CLI that provides on-demand secrets access for common DevOps tools"; 28 mainProgram = "summon"; 29 homepage = "https://cyberark.github.io/summon"; 30 license = lib.licenses.mit; 31 maintainers = with maintainers; [ quentini ]; 32 }; 33}