at 22.05-pre 24 lines 739 B view raw
1{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, postgresql, libgcrypt, pam }: 2 3stdenv.mkDerivation rec { 4 pname = "pam_pgsql"; 5 version = "0.7.3.2"; 6 7 src = fetchFromGitHub { 8 owner = "pam-pgsql"; 9 repo = "pam-pgsql"; 10 rev = "release-${version}"; 11 sha256 = "1a68krq5m07zspdxwl1wmkr5j98zr9bdg4776kvplrsdcg97h4jk"; 12 }; 13 14 nativeBuildInputs = [ autoreconfHook pkg-config ]; 15 buildInputs = [ libgcrypt pam postgresql ]; 16 17 meta = with lib; { 18 description = "Support to authenticate against PostgreSQL for PAM-enabled appliations"; 19 homepage = "https://github.com/pam-pgsql/pam-pgsql"; 20 license = licenses.gpl2Plus; 21 platforms = platforms.linux; 22 maintainers = with maintainers; [ abbradar ]; 23 }; 24}