2015-04-05 03:57:13 +01:00
|
|
|
{ stdenv, fetchurl, python, pkgconfig, readline, gettext, libxslt
|
2015-01-03 01:22:06 +00:00
|
|
|
, docbook_xsl, docbook_xml_dtd_42
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "ntdb-1.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2015-02-08 21:29:27 +00:00
|
|
|
url = "mirror://samba/tdb/${name}.tar.gz";
|
2015-01-03 01:22:06 +00:00
|
|
|
sha256 = "0jdzgrz5sr25k83yrw7wqb3r0yj1v04z4s3lhsmnr5z6n5ifhyl1";
|
|
|
|
};
|
|
|
|
|
2017-09-14 20:24:37 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2015-01-03 01:22:06 +00:00
|
|
|
buildInputs = [
|
2017-09-14 20:24:37 +01:00
|
|
|
python readline gettext libxslt docbook_xsl docbook_xml_dtd_42
|
2015-01-03 01:22:06 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
preConfigure = ''
|
2015-04-05 03:57:13 +01:00
|
|
|
patchShebangs buildtools/bin/waf
|
2015-01-03 01:22:06 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--bundled-libraries=NONE"
|
|
|
|
"--builtin-libraries=replace,ccan"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "The not-so trivial database";
|
2018-06-27 21:12:57 +01:00
|
|
|
homepage = https://tdb.samba.org/;
|
2015-01-03 01:22:06 +00:00
|
|
|
license = licenses.lgpl3Plus;
|
|
|
|
maintainers = with maintainers; [ wkennington ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|