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

24 lines
624 B
Nix
Raw Normal View History

2022-06-10 17:45:38 +00:00
{ lib, fetchFromGitHub, buildGoModule }:
buildGoModule rec {
pname = "vault-medusa";
2024-05-29 10:15:48 +00:00
version = "0.7.2";
2022-06-10 17:45:38 +00:00
src = fetchFromGitHub {
owner = "jonasvinther";
repo = "medusa";
rev = "v${version}";
2024-05-29 10:15:48 +00:00
sha256 = "sha256-c5ldU54SQQKnKp2xxUiHVOaCRV9ttC24sN8AUMMuWzQ=";
2022-06-10 17:45:38 +00:00
};
2024-05-23 18:54:04 +00:00
vendorHash = "sha256-GdQiPeU5SWZlqWkyk8gU9yVTUQxJlurhY3l1xZXKeJY=";
2022-06-10 17:45:38 +00:00
meta = with lib; {
description = "Cli tool for importing and exporting Hashicorp Vault secrets";
mainProgram = "medusa";
2022-06-10 17:45:38 +00:00
homepage = "https://github.com/jonasvinther/medusa";
license = licenses.mit;
maintainers = with maintainers; [ onny ];
2022-06-10 17:45:38 +00:00
};
}