2015-01-03 02:20:29 +01:00
|
|
|
{ stdenv, fetchurl, python, pkgconfig, readline, tdb, talloc, tevent
|
2014-04-30 09:42:02 +02:00
|
|
|
, popt, libxslt, docbook_xsl, docbook_xml_dtd_42
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-01-27 15:22:11 +01:00
|
|
|
name = "ldb-1.1.27";
|
2014-04-30 09:42:02 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2015-02-08 22:29:27 +01:00
|
|
|
url = "mirror://samba/ldb/${name}.tar.gz";
|
2018-01-27 15:22:11 +01:00
|
|
|
sha256 = "1b1mkl5p8swb67s9aswavhzswlib34hpgsv66zgns009paf2df6d";
|
2014-04-30 09:42:02 +02:00
|
|
|
};
|
|
|
|
|
2016-09-19 15:33:35 +02:00
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
2017-09-14 21:24:37 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2014-04-30 09:42:02 +02:00
|
|
|
buildInputs = [
|
2017-09-14 21:24:37 +02:00
|
|
|
python readline tdb talloc tevent popt
|
2014-04-30 09:42:02 +02:00
|
|
|
libxslt docbook_xsl docbook_xml_dtd_42
|
|
|
|
];
|
|
|
|
|
|
|
|
preConfigure = ''
|
2015-01-03 02:20:29 +01:00
|
|
|
sed -i 's,#!/usr/bin/env python,#!${python}/bin/python,g' buildtools/bin/waf
|
2014-04-30 09:42:02 +02:00
|
|
|
'';
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--bundled-libraries=NONE"
|
|
|
|
"--builtin-libraries=replace"
|
|
|
|
];
|
|
|
|
|
2016-09-19 15:33:35 +02:00
|
|
|
stripDebugList = "bin lib modules";
|
|
|
|
|
2014-04-30 09:42:02 +02:00
|
|
|
meta = with stdenv.lib; {
|
2016-06-20 12:53:46 +02:00
|
|
|
description = "A LDAP-like embedded database";
|
2014-04-30 09:42:02 +02:00
|
|
|
homepage = http://ldb.samba.org/;
|
|
|
|
license = licenses.lgpl3Plus;
|
|
|
|
maintainers = with maintainers; [ wkennington ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|