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; {
|
2024-06-07 07:46:46 +00:00
|
|
|
description = "Cli tool for importing and exporting Hashicorp Vault secrets";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "medusa";
|
2022-06-10 17:45:38 +00:00
|
|
|
homepage = "https://github.com/jonasvinther/medusa";
|
|
|
|
license = licenses.mit;
|
2022-09-07 16:08:35 +00:00
|
|
|
maintainers = with maintainers; [ onny ];
|
2022-06-10 17:45:38 +00:00
|
|
|
};
|
|
|
|
}
|