diff options
author | Nikolay Amiantov <ab@fmap.me> | 2015-10-19 13:29:34 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2015-10-19 13:30:28 +0300 |
commit | 4f3a99d21d5617dc0b028d0ad4f248305208d032 (patch) | |
tree | 9f29942bfbd594a55a8fbebcb4cc2fa2ecd5baf2 /pkgs/os-specific/linux/pam_pgsql | |
parent | b1bc31a5a7b2ac06354946877d9fbc77ff7c58ff (diff) |
pam_pgsql: init at 0.7.3.2
Diffstat (limited to 'pkgs/os-specific/linux/pam_pgsql')
-rw-r--r-- | pkgs/os-specific/linux/pam_pgsql/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/pam_pgsql/default.nix b/pkgs/os-specific/linux/pam_pgsql/default.nix new file mode 100644 index 0000000000000..8e34028e07832 --- /dev/null +++ b/pkgs/os-specific/linux/pam_pgsql/default.nix @@ -0,0 +1,24 @@ +{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, postgresql, libgcrypt, pam }: + +stdenv.mkDerivation rec { + version = "0.7.3.2"; + name = "pam_pgsql-${version}"; + + src = fetchFromGitHub { + owner = "pam-pgsql"; + repo = "pam-pgsql"; + rev = "release-${version}"; + sha256 = "1a68krq5m07zspdxwl1wmkr5j98zr9bdg4776kvplrsdcg97h4jk"; + }; + + nativeBuildInputs = [ autoreconfHook pkgconfig ]; + buildInputs = [ libgcrypt pam postgresql ]; + + meta = with stdenv.lib; { + description = "Support to authenticate against PostgreSQL for PAM-enabled appliations"; + homepage = https://github.com/pam-pgsql/pam-pgsql; + license = licenses.gpl2Plus; + platforms = platforms.linux; + maintainers = with maintainers; [ abbradar ]; + }; +} |