nixpkgs-suyu/pkgs/os-specific/linux/pam_pgsql/default.nix

25 lines
739 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, postgresql, libgcrypt, pam }:
2015-10-19 12:29:34 +02:00
stdenv.mkDerivation rec {
pname = "pam_pgsql";
2016-11-23 15:49:18 +01:00
version = "0.7.3.2";
2015-10-19 12:29:34 +02:00
src = fetchFromGitHub {
owner = "pam-pgsql";
repo = "pam-pgsql";
rev = "release-${version}";
sha256 = "1a68krq5m07zspdxwl1wmkr5j98zr9bdg4776kvplrsdcg97h4jk";
};
nativeBuildInputs = [ autoreconfHook pkg-config ];
2015-10-19 12:29:34 +02:00
buildInputs = [ libgcrypt pam postgresql ];
meta = with lib; {
2015-10-19 12:29:34 +02:00
description = "Support to authenticate against PostgreSQL for PAM-enabled appliations";
homepage = "https://github.com/pam-pgsql/pam-pgsql";
2015-10-19 12:29:34 +02:00
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ abbradar ];
};
}