nixpkgs/pkgs/by-name/va/vault-unseal/package.nix

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

31 lines
720 B
Nix
Raw Normal View History

2024-02-18 22:26:31 +00:00
{ lib
, buildGoModule
, fetchFromGitHub
}:
let
2024-08-08 16:17:41 +01:00
version = "0.6.0";
2024-02-18 22:26:31 +00:00
in
buildGoModule {
pname = "vault-unseal";
inherit version;
src = fetchFromGitHub {
owner = "lrstanley";
repo = "vault-unseal";
rev = "v${version}";
2024-08-08 16:17:41 +01:00
hash = "sha256-lryjinTzJNty2euvWP5rNyf7BZxlTD4x6zIEERF4vag=";
2024-02-18 22:26:31 +00:00
};
2024-08-08 16:17:41 +01:00
vendorHash = "sha256-vbVUIiFBmjH1ROKNBeV19NeHI1msqgJ1RonVh/Lp/CE=";
2024-02-18 22:26:31 +00:00
meta = {
changelog = "https://github.com/lrstanley/vault-unseal/releases/tag/v${version}";
description = "Auto-unseal utility for Hashicorp Vault";
homepage = "https://github.com/lrstanley/vault-unseal";
license = lib.licenses.mit;
mainProgram = "vault-unseal";
maintainers = with lib.maintainers; [ mjm ];
};
}