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

39 lines
944 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 08:42:02 +01:00
, popt, libxslt, docbook_xsl, docbook_xml_dtd_42
}:
stdenv.mkDerivation rec {
name = "ldb-1.1.27";
2014-04-30 08:42:02 +01:00
src = fetchurl {
url = "mirror://samba/ldb/${name}.tar.gz";
sha256 = "1b1mkl5p8swb67s9aswavhzswlib34hpgsv66zgns009paf2df6d";
2014-04-30 08:42:02 +01:00
};
outputs = [ "out" "dev" ];
2014-04-30 08:42:02 +01:00
buildInputs = [
2015-01-03 01:20:29 +00:00
python pkgconfig readline tdb talloc tevent popt
2014-04-30 08:42:02 +01:00
libxslt docbook_xsl docbook_xml_dtd_42
];
preConfigure = ''
2015-01-03 01:20:29 +00:00
sed -i 's,#!/usr/bin/env python,#!${python}/bin/python,g' buildtools/bin/waf
2014-04-30 08:42:02 +01:00
'';
configureFlags = [
"--bundled-libraries=NONE"
"--builtin-libraries=replace"
];
stripDebugList = "bin lib modules";
2014-04-30 08:42:02 +01:00
meta = with stdenv.lib; {
description = "A LDAP-like embedded database";
2014-04-30 08:42:02 +01:00
homepage = http://ldb.samba.org/;
license = licenses.lgpl3Plus;
maintainers = with maintainers; [ wkennington ];
platforms = platforms.all;
};
}