ldb: Add package
This commit is contained in:
parent
39d77d9d44
commit
63629dbd5c
37
pkgs/development/libraries/ldb/default.nix
Normal file
37
pkgs/development/libraries/ldb/default.nix
Normal file
@ -0,0 +1,37 @@
|
||||
{ stdenv, fetchurl, python27, pkgconfig, readline, gettext, tdb, talloc, tevent
|
||||
, popt, libxslt, docbook_xsl, docbook_xml_dtd_42
|
||||
, acl ? null, heimdal ? null, libaio ? null, libcap ? null, libgcrypt ? null
|
||||
, sasl ? null, pam ? null, zlib ? null, openldap ? null
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ldb-1.1.17";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://samba.org/ftp/ldb/${name}.tar.gz";
|
||||
sha256 = "1rmnppbk06aa1kfdrxi4xyjw2zzx54jqyz95dmqn754ys6m158xr";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
python27 pkgconfig readline gettext tdb talloc tevent popt
|
||||
libxslt docbook_xsl docbook_xml_dtd_42
|
||||
acl heimdal libaio libcap libgcrypt sasl pam zlib openldap
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
sed -i 's,#!/usr/bin/env python,#!${python27}/bin/python,g' buildtools/bin/waf
|
||||
'';
|
||||
|
||||
configureFlags = [
|
||||
"--bundled-libraries=NONE"
|
||||
"--builtin-libraries=replace"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "a LDAP-like embedded database";
|
||||
homepage = http://ldb.samba.org/;
|
||||
license = licenses.lgpl3Plus;
|
||||
maintainers = with maintainers; [ wkennington ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
@ -5542,6 +5542,11 @@ let
|
||||
|
||||
lcms2 = callPackage ../development/libraries/lcms2 { };
|
||||
|
||||
ldb = callPackage ../development/libraries/ldb {
|
||||
sasl = cyrus_sasl;
|
||||
libgcrypt = libgcrypt_1_6;
|
||||
};
|
||||
|
||||
lensfun = callPackage ../development/libraries/lensfun { };
|
||||
|
||||
lesstif = callPackage ../development/libraries/lesstif { };
|
||||
|
Loading…
Reference in New Issue
Block a user