1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 04:02:10 +00:00

389-ds-base: Add derivation

This commit is contained in:
William A. Kennington III 2014-12-30 09:30:15 -08:00 committed by Peter Simons
parent 9cf82f30df
commit 89130335b0
2 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,33 @@
{ stdenv, fetchurl, pkgconfig, perl, pam, nspr, nss, openldap, db, cyrus_sasl
, svrcore, icu, net_snmp, krb5, pcre
}:
stdenv.mkDerivation rec {
name = "389-ds-base-1.3.3.5";
src = fetchurl {
url = "http://directory.fedoraproject.org/binaries/${name}.tar.bz2";
sha256 = "09w81salyr56njsvq9p96ijrrs0vwsczd43jf6384ylzj1jrxxl5";
};
buildInputs = [
pkgconfig perl pam nspr nss openldap db cyrus_sasl svrcore icu
net_snmp krb5 pcre
];
configureFlags = [
"--sysconfdir=/etc"
"--with-openldap=${openldap}"
"--with-db=${db}"
"--with-sasl=${cyrus_sasl}"
"--with-netsnmp=${net_snmp}"
];
meta = with stdenv.lib; {
homepage = https://directory.fedoraproject.org/;
description = "enterprise-class Open Source LDAP server for Linux";
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ wkennington ];
};
}

View file

@ -7534,6 +7534,8 @@ let
### SERVERS
"389-ds-base" = callPackage ../servers/ldap/389 { };
rdf4store = callPackage ../servers/http/4store { };
apacheHttpd = pkgs.apacheHttpd_2_4;