nixpkgs/pkgs/tools/security/vault-medusa/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

24 lines
626 B
Nix

{ lib, fetchFromGitHub, buildGoModule }:
buildGoModule rec {
pname = "vault-medusa";
version = "0.7.0";
src = fetchFromGitHub {
owner = "jonasvinther";
repo = "medusa";
rev = "v${version}";
sha256 = "sha256-8lbaXcu+o+grbFPJxZ6p/LezxDFCUvOQyX49zX4V/v0=";
};
vendorHash = "sha256-/8wusZt0BQ//HCokjiSpsgsGb19FggrGrEuhCrwm9L0=";
meta = with lib; {
description = "A cli tool for importing and exporting Hashicorp Vault secrets";
mainProgram = "medusa";
homepage = "https://github.com/jonasvinther/medusa";
license = licenses.mit;
maintainers = with maintainers; [ onny ];
};
}