2021-01-19 06:50:56 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, postgresql, libgcrypt, pam }:
|
2015-10-19 11:29:34 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "pam_pgsql";
|
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";
|
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
2015-10-19 11:29:34 +01:00
|
|
|
buildInputs = [ libgcrypt pam postgresql ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2015-10-19 11:29:34 +01:00
|
|
|
description = "Support to authenticate against PostgreSQL for PAM-enabled appliations";
|
2020-04-01 02:11:51 +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 ];
|
|
|
|
};
|
|
|
|
}
|