3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/ldb/default.nix
Vladimír Čunát 530214321d tevent, ldb: security updates needed for samba
I managed to find no news or changelog on these,
so it's rather a black box to me, but it's clear that (some) bumps
were required for samba.
2016-03-14 19:46:39 +01:00

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.26";
src = fetchurl {
url = "mirror://samba/ldb/${name}.tar.gz";
sha256 = "1rmjv12pf57vga8s5z9p9d90rlfckc1lqjbcp89r83cq5fkwfhw8";
};
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;
};
}