depot/pkgs/by-name/go/gokey/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

24 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";
};
}