mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 05:13:04 +00:00
35 lines
875 B
Nix
35 lines
875 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.21";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://samba/ldb/${name}.tar.gz";
|
|
sha256 = "1wfvqys8g3l2gki5xhf5jc50f6k95vdgzb97vvqfls404xzvnyr6";
|
|
};
|
|
|
|
buildInputs = [
|
|
python pkgconfig readline tdb talloc tevent popt
|
|
libxslt docbook_xsl docbook_xml_dtd_42
|
|
];
|
|
|
|
preConfigure = ''
|
|
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;
|
|
};
|
|
}
|