Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
40 lines
862 B
Nix
40 lines
862 B
Nix
{
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
lib,
|
|
testers,
|
|
cf-vault,
|
|
}:
|
|
buildGoModule rec {
|
|
pname = "cf-vault";
|
|
version = "0.0.18";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jacobbednarz";
|
|
repo = "cf-vault";
|
|
rev = version;
|
|
sha256 = "sha256-vp9ufjNZabY/ck2lIT+QpD6IgaVj1BkBRTjPxkb6IjQ=";
|
|
};
|
|
|
|
ldflags = [
|
|
"-s"
|
|
"-w"
|
|
"-X github.com/jacobbednarz/cf-vault/cmd.Rev=${version}"
|
|
];
|
|
|
|
vendorHash = "sha256-7qFB1Y1AnqMgdu186tAXCdoYOhCMz8pIh6sY02LbIgs=";
|
|
|
|
passthru.tests.version = testers.testVersion {
|
|
package = cf-vault;
|
|
command = "cf-vault version";
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Tool for managing your Cloudflare credentials, securely";
|
|
homepage = "https://github.com/jacobbednarz/cf-vault/";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ viraptor ];
|
|
mainProgram = "cf-vault";
|
|
};
|
|
}
|