git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #78143 from mtreca/master

pam_gnupg: init at 0.1

commit5d92cf5f238de52e3287730867c20c00a8cdb010 authorNick Hu <me@nickhu.co.uk> dateSun 13 Sep 2020, 11:44 (6 years ago) parent35ca475d9d3013
3 files changed+40
maintainers/maintainer-list.nix+6 pkgs/os-specific/linux/pam_gnupg/default.nix+32 pkgs/top-level/all-packages.nix+2
maintainers/maintainer-list.nix+6
@@ -5899,6 +5899,12 @@
58995899 githubId = 2176611;
59005900 name = "Marko Poikonen";
59015901 };
5902+ mtreca = {
5903+ email = "maxime@treca.dev";
5904+ name = "Maxime Tréca";
5905+ github = "mtreca";
5906+ githubId = 16440823;
5907+ };
59025908 mtreskin = {
59035909 email = "zerthurd@gmail.com";
59045910 github = "Zert";
pkgs/os-specific/linux/pam_gnupg/default.nixnew file+32
@@ -0,0 +1,32 @@
1+{ stdenv, fetchFromGitHub, autoreconfHook, pam, gnupg }:
2+
3+stdenv.mkDerivation rec {
4+ pname = "pam_gnupg";
5+ version = "0.1";
6+
7+ src = fetchFromGitHub {
8+ owner = "cruegge";
9+ repo = "pam-gnupg";
10+ rev = "v${version}";
11+ sha256 = "0b70mazyvcbg6xyqllm62rwhbz0y94pcy202db1qyy4w8466bhsw";
12+ };
13+
14+ configureFlags = [
15+ "--with-moduledir=${placeholder "out"}/lib/security"
16+ ];
17+
18+ buildInputs = [ pam gnupg ];
19+
20+ nativeBuildInputs = [ autoreconfHook ];
21+
22+ meta = with stdenv.lib; {
23+ description = "Unlock GnuPG keys on login";
24+ longDescription = ''
25+ A PAM module that hands over your login password to gpg-agent. This can
26+ be useful if you are using a GnuPG-based password manager like pass.
27+ '';
28+ homepage = "https://github.com/cruegge/pam-gnupg";
29+ license = licenses.gpl3;
30+ maintainers = with maintainers; [ mtreca ];
31+ };
32+}
pkgs/top-level/all-packages.nix+2
@@ -18251,6 +18251,8 @@ in
1825118251
1825218252 pam_ccreds = callPackage ../os-specific/linux/pam_ccreds { };
1825318253
18254+ pam_gnupg = callPackage ../os-specific/linux/pam_gnupg { };
18255+
1825418256 pam_krb5 = callPackage ../os-specific/linux/pam_krb5 { };
1825518257
1825618258 pam_ldap = callPackage ../os-specific/linux/pam_ldap { };