at 23.11-beta 29 lines 689 B view raw
1{ buildGoModule, fetchFromGitHub, lib }: 2 3buildGoModule rec { 4 pname = "summon"; 5 version = "0.9.6"; 6 7 src = fetchFromGitHub { 8 owner = "cyberark"; 9 repo = "summon"; 10 rev = "v${version}"; 11 hash = "sha256-OOIq6U7HCxcYvBFZdewSpglg9lFzITsb6IPu/EID+Z0="; 12 }; 13 14 vendorHash = "sha256-qh3DJFxf1FqYgbULo4M+0nSOQ6uTlMTjAqNl7l+IPvk="; 15 16 subPackages = [ "cmd" ]; 17 18 postInstall = '' 19 mv $out/bin/cmd $out/bin/summon 20 ''; 21 22 meta = with lib; { 23 description = 24 "CLI that provides on-demand secrets access for common DevOps tools"; 25 homepage = "https://cyberark.github.io/summon"; 26 license = lib.licenses.mit; 27 maintainers = with maintainers; [ quentini ]; 28 }; 29}