git.iko.soy/typeable/nixpkgs
on master help sign in
passphrase2pgp: init at 1.1.0
commitd7cf422f7ecef8ce3848ad5a690981552c5b7da3 authorDmitry Bogatov <git#v1@kaction.cc> dateFri 5 Mar 2021, 00:00 (6 years ago) parentdb74fae
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
@@ -1398,6 +1398,8 @@ in
13981398
13991399 pass = callPackage ../tools/security/pass { };
14001400
1401+ passphrase2pgp = callPackage ../tools/security/passphrase2pgp { };
1402+
14011403 pass-git-helper = python3Packages.callPackage ../applications/version-management/git-and-tools/pass-git-helper { };
14021404
14031405 pass-nodmenu = callPackage ../tools/security/pass {