3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #115263 from KAction/passphrase2pgp

passphrase2pgp: init at 1.1.0
This commit is contained in:
Sandro 2021-03-08 12:42:45 +01:00 committed by GitHub
commit 78452c2093
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,27 @@
{ 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 ];
};
}

View file

@ -1400,6 +1400,8 @@ in
pass = callPackage ../tools/security/pass { };
passphrase2pgp = callPackage ../tools/security/passphrase2pgp { };
pass-git-helper = python3Packages.callPackage ../applications/version-management/git-and-tools/pass-git-helper { };
pass-nodmenu = callPackage ../tools/security/pass {