nixpkgs/pkgs/development/libraries/ldb/default.nix

39 lines
979 B
Nix
Raw Normal View History

2015-01-03 01:20:29 +00:00
{ stdenv, fetchurl, python, pkgconfig, readline, tdb, talloc, tevent
2014-04-30 07:42:02 +00:00
, popt, libxslt, docbook_xsl, docbook_xml_dtd_42
}:
stdenv.mkDerivation rec {
2015-01-02 18:42:59 +00:00
name = "ldb-1.1.19";
2014-04-30 07:42:02 +00:00
src = fetchurl {
2015-02-04 16:05:02 +00:00
urls = [
"http://samba.org/ftp/ldb/${name}.tar.gz"
"http://distfiles.exherbo.org/distfiles/${name}.tar.gz"
];
2015-01-02 18:42:59 +00:00
sha256 = "1p2815z9sjack08pcdbv4xzp1fvr4lxcn30rj0wh3py4ly6ji1h0";
2014-04-30 07:42:02 +00:00
};
buildInputs = [
2015-01-03 01:20:29 +00:00
python pkgconfig readline tdb talloc tevent popt
2014-04-30 07:42:02 +00:00
libxslt docbook_xsl docbook_xml_dtd_42
];
preConfigure = ''
2015-01-03 01:20:29 +00:00
echo $PYTHONPATH
sed -i 's,#!/usr/bin/env python,#!${python}/bin/python,g' buildtools/bin/waf
2014-04-30 07:42:02 +00:00
'';
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;
};
}