mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 13:00:23 +00:00
generated using https://git.kybe.xyz/2kybe3/nixpkgs-github-redirect continuation of: #539298
34 lines
665 B
Nix
34 lines
665 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildGoModule (finalAttrs: {
|
|
pname = "safe";
|
|
version = "1.8.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "egen";
|
|
repo = "safe";
|
|
rev = "v${finalAttrs.version}";
|
|
sha256 = "sha256-sg0RyZ5HpYu7M11bNy17Sjxm7C3pkQX3I17edbALuvU=";
|
|
};
|
|
|
|
vendorHash = "sha256-w8gHCqOfmZg4JZgg1nZBtTJ553Rbp0a0JsoQVDFjehM=";
|
|
|
|
subPackages = [ "." ];
|
|
|
|
ldflags = [
|
|
"-X main.Version=${finalAttrs.version}"
|
|
];
|
|
|
|
meta = {
|
|
description = "Vault CLI";
|
|
mainProgram = "safe";
|
|
homepage = "https://github.com/egen/safe";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ eonpatapon ];
|
|
};
|
|
})
|