git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #115263 from KAction/passphrase2pgp

passphrase2pgp: init at 1.1.0

commit78452c20934d40984e2c97693e689d2a4840cec8 authorSandro <sandro.jaeckel@gmail.com> dateMon 8 Mar 2021, 12:42 (6 years ago) parent7e67f99d7cf422
2 files changed+29
pkgs/tools/security/passphrase2pgp/default.nix+27 pkgs/top-level/all-packages.nix+2
pkgs/tools/security/passphrase2pgp/default.nixnew file+27
@@ -0,0 +1,27 @@
1+{ lib, pandoc, buildGoModule, fetchFromGitHub }:
2+
3+buildGoModule rec {
4+ pname = "passphrase2pgp";
5+ version = "1.1.0";
6+
7+ src = fetchFromGitHub {
8+ owner = "skeeto";
9+ repo = pname;
10+ rev = "v${version}";
11+ hash = "sha256-Nje77tn55CKRU6igEA/6IquDhXVVQAdiez6nmN49di4";
12+ };
13+
14+ vendorSha256 = "sha256-7q5nwkj4TP7VgHmV9YBbCB11yTPL7tK4gD+uN4Vw3Cs";
15+
16+ postInstall = ''
17+ mkdir -p $out/share/doc/$name
18+ cp README.md $out/share/doc/$name
19+ '';
20+
21+ meta = with lib; {
22+ description = "Predictable, passphrase-based PGP key generator";
23+ homepage = "https://github.com/skeeto/passphrase2pgp";
24+ license = licenses.unlicense;
25+ maintainers = with maintainers; [ kaction ];
26+ };
27+}
pkgs/top-level/all-packages.nix+2
@@ -1400,6 +1400,8 @@ in
14001400
14011401 pass = callPackage ../tools/security/pass { };
14021402
1403+ passphrase2pgp = callPackage ../tools/security/passphrase2pgp { };
1404+
14031405 pass-git-helper = python3Packages.callPackage ../applications/version-management/git-and-tools/pass-git-helper { };
14041406
14051407 pass-nodmenu = callPackage ../tools/security/pass {