summary refs log tree commit diff
path: root/pkgs/servers/ldap
diff options
context:
space:
mode:
authorWilliam A. Kennington III <william@wkennington.com>2014-12-30 09:30:15 -0800
committerWilliam A. Kennington III <william@wkennington.com>2014-12-31 23:57:51 -0800
commit400cd62cfc8bf0d6ce5e956d63881672b8f5dfec (patch)
tree4a9d4c07ae88dada53bd10ac3c6009f8f197d2b0 /pkgs/servers/ldap
parent30db6f177d3af49d02a5a92e19969af0af44427a (diff)
downloadnixpkgs-400cd62cfc8bf0d6ce5e956d63881672b8f5dfec.tar
nixpkgs-400cd62cfc8bf0d6ce5e956d63881672b8f5dfec.tar.gz
nixpkgs-400cd62cfc8bf0d6ce5e956d63881672b8f5dfec.tar.bz2
nixpkgs-400cd62cfc8bf0d6ce5e956d63881672b8f5dfec.tar.lz
nixpkgs-400cd62cfc8bf0d6ce5e956d63881672b8f5dfec.tar.xz
nixpkgs-400cd62cfc8bf0d6ce5e956d63881672b8f5dfec.tar.zst
nixpkgs-400cd62cfc8bf0d6ce5e956d63881672b8f5dfec.zip
389-ds-base: Add derivation
Diffstat (limited to 'pkgs/servers/ldap')
-rw-r--r--pkgs/servers/ldap/389/default.nix33
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/servers/ldap/389/default.nix b/pkgs/servers/ldap/389/default.nix
new file mode 100644
index 00000000000..1c0b0cd0043
--- /dev/null
+++ b/pkgs/servers/ldap/389/default.nix
@@ -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 ];
+  };
+}