depot/third_party/nixpkgs/pkgs/by-name/go/gokey/package.nix

28 lines
620 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "gokey";
version = "0.1.3";
patches = [ ./version.patch ];
src = fetchFromGitHub {
owner = "cloudflare";
repo = "gokey";
rev = "refs/tags/v${version}";
hash = "sha256-pvtRSWq/vXlyUShb61aiDlis9AiQnrA2PWycr1Zw0og=";
};
vendorHash = "sha256-qlP2tI6QQMjxP59zaXgx4mX9IWSrOKWmme717wDaUEc=";
meta = with lib; {
homepage = "https://github.com/cloudflare/gokey";
description = "Vault-less password store";
license = licenses.bsd3;
maintainers = [ maintainers.confus ];
mainProgram = "gokey";
};
}