nixpkgs/pkgs/by-name/go/gokey/package.nix
2024-10-06 15:45:52 +02:00

25 lines
613 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";
};
}