mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 11:22:58 +00:00
ea3622dcc8
Co-authored-by: Dmitry Bogatov <git#v1@kaction.cc>
28 lines
684 B
Nix
28 lines
684 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "passphrase2pgp";
|
|
version = "1.2.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "skeeto";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-VNOoYYnHsSgiSbVxlBwYUq0JsLa4BwZQSvMVSiyB6rg=";
|
|
};
|
|
|
|
vendorSha256 = "sha256-7q5nwkj4TP7VgHmV9YBbCB11yTPL7tK4gD+uN4Vw3Cs";
|
|
|
|
postInstall = ''
|
|
mkdir -p $out/share/doc/$name
|
|
cp README.md $out/share/doc/$name
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Predictable, passphrase-based PGP key generator";
|
|
homepage = "https://github.com/skeeto/passphrase2pgp";
|
|
license = licenses.unlicense;
|
|
maintainers = with maintainers; [ kaction ];
|
|
};
|
|
}
|