lol

Merge pull request #178526 from 0xC45/regpg

regpg: init at 1.11

authored by

ckie and committed by
GitHub
d3ec3747 c48e4d48

+61
+7
maintainers/maintainer-list.nix
··· 78 78 fingerprint = "2536 9E86 1AA5 9EB7 4C47 B138 6510 870A 77F4 9A99"; 79 79 }]; 80 80 }; 81 + _0xC45 = { 82 + email = "jason@0xc45.com"; 83 + name = "Jason Vigil"; 84 + github = "0xC45"; 85 + githubId = 56617252; 86 + matrix = "@oxc45:matrix.org"; 87 + }; 81 88 _1000101 = { 82 89 email = "b1000101@pm.me"; 83 90 github = "1000101";
+52
pkgs/tools/security/regpg/default.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , makeWrapper 5 + , gnupg 6 + , perl 7 + }: 8 + 9 + let 10 + perlEnv = perl.withPackages (p: with p; [ TextMarkdown ]); 11 + in 12 + stdenv.mkDerivation rec { 13 + pname = "regpg"; 14 + version = "1.11"; 15 + 16 + src = fetchFromGitHub { 17 + owner = "fanf2"; 18 + repo = "regpg"; 19 + rev = "regpg-${version}"; 20 + sha256 = "2ea99950804078190e1cc2a76d4740e3fdd5395a9043db3f3fe86bf2477d3a7d"; 21 + }; 22 + 23 + nativeBuildInputs = [ makeWrapper perlEnv ]; 24 + 25 + postPatch = '' 26 + patchShebangs ./util/insert-here.pl ./util/markdown.pl 27 + substituteInPlace ./Makefile \ 28 + --replace 'util/insert-here.pl' 'perl util/insert-here.pl' 29 + substituteInPlace ./Makefile \ 30 + --replace 'util/markdown.pl' 'perl util/markdown.pl' 31 + substituteInPlace util/insert-here.pl \ 32 + --replace 'qx(git describe)' '"regpg-${version}"' 33 + ''; 34 + 35 + dontConfigure = true; 36 + 37 + makeFlags = [ "prefix=$(out)" ]; 38 + 39 + postFixup = '' 40 + patchShebangs $out/bin/regpg 41 + wrapProgram $out/bin/regpg --prefix PATH ":" \ 42 + "${lib.makeBinPath [ gnupg ]}" 43 + ''; 44 + 45 + meta = with lib; { 46 + description = "GPG wrapper utility for storing secrets in VCS"; 47 + homepage = "https://dotat.at/prog/regpg"; 48 + license = licenses.gpl3; 49 + platforms = platforms.all; 50 + maintainers = with maintainers; [ _0xC45 ]; 51 + }; 52 + }
+2
pkgs/top-level/all-packages.nix
··· 9991 9991 9992 9992 reftools = callPackage ../development/tools/reftools { }; 9993 9993 9994 + regpg = callPackage ../tools/security/regpg { }; 9995 + 9994 9996 remote-touchpad = callPackage ../tools/inputmethods/remote-touchpad { }; 9995 9997 9996 9998 reposurgeon = callPackage ../applications/version-management/reposurgeon { };