3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/os-specific/linux/pam_pgsql/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

25 lines
737 B
Nix

{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, postgresql, libgcrypt, pam }:
stdenv.mkDerivation rec {
pname = "pam_pgsql";
version = "0.7.3.2";
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 ];
};
}