nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ stdenv, fetchurl, python, pkgconfig, readline, gettext, libxslt
2, docbook_xsl, docbook_xml_dtd_42
3}:
4
5stdenv.mkDerivation rec {
6 name = "ntdb-1.0";
7
8 src = fetchurl {
9 url = "mirror://samba/tdb/${name}.tar.gz";
10 sha256 = "0jdzgrz5sr25k83yrw7wqb3r0yj1v04z4s3lhsmnr5z6n5ifhyl1";
11 };
12
13 buildInputs = [
14 python pkgconfig readline gettext libxslt docbook_xsl docbook_xml_dtd_42
15 ];
16
17 preConfigure = ''
18 patchShebangs buildtools/bin/waf
19 '';
20
21 configureFlags = [
22 "--bundled-libraries=NONE"
23 "--builtin-libraries=replace,ccan"
24 ];
25
26 meta = with stdenv.lib; {
27 description = "The not-so trivial database";
28 homepage = http://tdb.samba.org/;
29 license = licenses.lgpl3Plus;
30 maintainers = with maintainers; [ wkennington ];
31 platforms = platforms.all;
32 };
33}