2015-10-19 11:29:34 +01:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, postgresql, libgcrypt, pam }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "pam_pgsql-${version}";
|
2016-11-23 14:49:18 +00:00
|
|
|
version = "0.7.3.2";
|
2015-10-19 11:29:34 +01:00
|
|
|
|
|
|
|
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";
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = https://github.com/pam-pgsql/pam-pgsql;
|
2015-10-19 11:29:34 +01:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ abbradar ];
|
|
|
|
};
|
|
|
|
}
|