75ca762b89
GitOrigin-RevId: 29b0d4d0b600f8f5dd0b86e3362a33d4181938f9
27 lines
691 B
Nix
27 lines
691 B
Nix
{ lib, pandoc, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "passphrase2pgp";
|
|
version = "1.1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "skeeto";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-Nje77tn55CKRU6igEA/6IquDhXVVQAdiez6nmN49di4";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|