at 18.03-beta 34 lines 822 B view raw
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 nativeBuildInputs = [ pkgconfig ]; 14 buildInputs = [ 15 python readline gettext libxslt docbook_xsl docbook_xml_dtd_42 16 ]; 17 18 preConfigure = '' 19 patchShebangs buildtools/bin/waf 20 ''; 21 22 configureFlags = [ 23 "--bundled-libraries=NONE" 24 "--builtin-libraries=replace,ccan" 25 ]; 26 27 meta = with stdenv.lib; { 28 description = "The not-so trivial database"; 29 homepage = http://tdb.samba.org/; 30 license = licenses.lgpl3Plus; 31 maintainers = with maintainers; [ wkennington ]; 32 platforms = platforms.all; 33 }; 34}