mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 16:53:21 +00:00
36 lines
896 B
Nix
36 lines
896 B
Nix
{ stdenv, fetchurl, python, pkgconfig, readline, tdb, talloc, tevent
|
|
, popt, libxslt, docbook_xsl, docbook_xml_dtd_42
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "ldb-1.1.20";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://samba/ldb/${name}.tar.gz";
|
|
sha256 = "1ckplfvr8rp5y632w5j0abdgkj3irbzjh1wn0yxadnhz4ymknjds";
|
|
};
|
|
|
|
buildInputs = [
|
|
python pkgconfig readline tdb talloc tevent popt
|
|
libxslt docbook_xsl docbook_xml_dtd_42
|
|
];
|
|
|
|
preConfigure = ''
|
|
echo $PYTHONPATH
|
|
sed -i 's,#!/usr/bin/env python,#!${python}/bin/python,g' buildtools/bin/waf
|
|
'';
|
|
|
|
configureFlags = [
|
|
"--bundled-libraries=NONE"
|
|
"--builtin-libraries=replace"
|
|
];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "a LDAP-like embedded database";
|
|
homepage = http://ldb.samba.org/;
|
|
license = licenses.lgpl3Plus;
|
|
maintainers = with maintainers; [ wkennington ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|