1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-18 02:46:28 +00:00
nixpkgs/pkgs/development/libraries/ldb/default.nix
William A. Kennington III 257b2ae888 ldb: Update dependency list
2015-01-02 17:22:37 -08:00

36 lines
902 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.19";
src = fetchurl {
url = "http://samba.org/ftp/ldb/${name}.tar.gz";
sha256 = "1p2815z9sjack08pcdbv4xzp1fvr4lxcn30rj0wh3py4ly6ji1h0";
};
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;
};
}