mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 16:23:26 +00:00
bd01fad0ed
In line with the Nixpkgs manual. A mechanical change, done with this command: find pkgs -name "*.nix" | \ while read f; do \ sed -e 's/description\s*=\s*"\([a-z]\)/description = "\u\1/' -i "$f"; \ done I manually skipped some: * Descriptions starting with an abbreviation, a user name or package name * Frequently generated expressions (haskell-packages.nix)
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.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;
|
|
};
|
|
}
|