depot/third_party/nixpkgs/pkgs/tools/security/safe/default.nix
Default email 4d5a95770c Project import generated by Copybara.
GitOrigin-RevId: 3c5319ad3aa51551182ac82ea17ab1c6b0f0df89
2023-03-04 15:14:45 +03:00

31 lines
624 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "safe";
version = "1.8.0";
src = fetchFromGitHub {
owner = "starkandwayne";
repo = "safe";
rev = "v${version}";
sha256 = "sha256-sg0RyZ5HpYu7M11bNy17Sjxm7C3pkQX3I17edbALuvU=";
};
vendorHash = "sha256-w8gHCqOfmZg4JZgg1nZBtTJ553Rbp0a0JsoQVDFjehM=";
subPackages = [ "." ];
ldflags = [
"-X main.Version=${version}"
];
meta = with lib; {
description = "A Vault CLI";
homepage = "https://github.com/starkandwayne/safe";
license = licenses.mit;
maintainers = with maintainers; [ eonpatapon ];
};
}