Files

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

34 lines
719 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
buildGoModule,
fetchFromGitHub,
lib,
}:
buildGoModule rec {
pname = "summon";
version = "0.10.6";
src = fetchFromGitHub {
owner = "cyberark";
repo = "summon";
rev = "v${version}";
hash = "sha256-Z98NgC9abNOHscwtV14gbI8SL8ODMbthMZMjhKz7KEk=";
};
vendorHash = "sha256-QOCPATTs2vvww+ekt6HFg2IUA/NFmE8+2WkMby2f/OE=";
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";
mainProgram = "summon";
homepage = "https://cyberark.github.io/summon";
license = lib.licenses.mit;
maintainers = with maintainers; [ quentini ];
};
}