nixpkgs/pkgs/development/tools/summon/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
689 B
Nix
Raw Normal View History

2023-07-08 13:06:12 +00:00
{ buildGoModule, fetchFromGitHub, lib }:
2020-06-29 13:59:47 +00:00
buildGoModule rec {
pname = "summon";
2023-07-08 13:06:12 +00:00
version = "0.9.6";
2020-06-29 13:59:47 +00:00
src = fetchFromGitHub {
owner = "cyberark";
repo = "summon";
rev = "v${version}";
2023-07-08 13:06:12 +00:00
hash = "sha256-OOIq6U7HCxcYvBFZdewSpglg9lFzITsb6IPu/EID+Z0=";
2020-06-29 13:59:47 +00:00
};
2023-07-08 13:06:12 +00:00
vendorHash = "sha256-qh3DJFxf1FqYgbULo4M+0nSOQ6uTlMTjAqNl7l+IPvk=";
2020-06-29 13:59:47 +00:00
subPackages = [ "cmd" ];
postInstall = ''
mv $out/bin/cmd $out/bin/summon
'';
meta = with lib; {
description =
"CLI that provides on-demand secrets access for common DevOps tools";
homepage = "https://cyberark.github.io/summon";
license = lib.licenses.mit;
maintainers = with maintainers; [ quentini ];
};
}