2020-03-31 04:17:21 +01:00
|
|
|
{ stdenv
|
|
|
|
, fetchurl
|
|
|
|
, python3
|
|
|
|
, pkg-config
|
|
|
|
, readline
|
|
|
|
, gettext
|
|
|
|
, libxslt
|
|
|
|
, docbook-xsl-nons
|
|
|
|
, docbook_xml_dtd_42
|
|
|
|
, wafHook
|
2015-01-03 01:22:06 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-03-31 04:17:21 +01:00
|
|
|
pname = "ntdb";
|
|
|
|
version = "1.0";
|
2015-01-03 01:22:06 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-03-31 04:17:21 +01:00
|
|
|
url = "mirror://samba/tdb/${pname}-${version}.tar.gz";
|
2015-01-03 01:22:06 +00:00
|
|
|
sha256 = "0jdzgrz5sr25k83yrw7wqb3r0yj1v04z4s3lhsmnr5z6n5ifhyl1";
|
|
|
|
};
|
|
|
|
|
2020-03-31 04:17:21 +01:00
|
|
|
nativeBuildInputs = [
|
|
|
|
pkg-config
|
|
|
|
gettext
|
|
|
|
libxslt
|
|
|
|
docbook-xsl-nons
|
|
|
|
docbook_xml_dtd_42
|
|
|
|
wafHook
|
|
|
|
];
|
|
|
|
|
2015-01-03 01:22:06 +00:00
|
|
|
buildInputs = [
|
2020-03-31 04:17:21 +01:00
|
|
|
python3
|
|
|
|
readline # required to build python
|
2015-01-03 01:22:06 +00:00
|
|
|
];
|
|
|
|
|
2020-03-31 04:17:21 +01:00
|
|
|
wafPath = "buildtools/bin/waf";
|
2015-01-03 01:22:06 +00:00
|
|
|
|
2020-03-31 04:17:21 +01:00
|
|
|
wafConfigureFlags = [
|
2015-01-03 01:22:06 +00:00
|
|
|
"--bundled-libraries=NONE"
|
|
|
|
"--builtin-libraries=replace,ccan"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "The not-so trivial database";
|
2020-03-31 04:17:21 +01:00
|
|
|
homepage = "https://tdb.samba.org/";
|
2015-01-03 01:22:06 +00:00
|
|
|
license = licenses.lgpl3Plus;
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|