nixpkgs/pkgs/development/libraries/ldb/default.nix
R. RyanTM eb8bc80998 ldb: 1.1.31 -> 1.3.3
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/ldb/versions.

These checks were done:

- built on NixOS
- ran ‘/nix/store/mffzix64mb7vjl2kandfj05n4lz0k8fy-ldb-1.3.3/bin/ldbadd --help’ got 0 exit code
- ran ‘/nix/store/mffzix64mb7vjl2kandfj05n4lz0k8fy-ldb-1.3.3/bin/ldbsearch --help’ got 0 exit code
- ran ‘/nix/store/mffzix64mb7vjl2kandfj05n4lz0k8fy-ldb-1.3.3/bin/ldbdel --help’ got 0 exit code
- ran ‘/nix/store/mffzix64mb7vjl2kandfj05n4lz0k8fy-ldb-1.3.3/bin/ldbmodify --help’ got 0 exit code
- ran ‘/nix/store/mffzix64mb7vjl2kandfj05n4lz0k8fy-ldb-1.3.3/bin/ldbedit --help’ got 0 exit code
- ran ‘/nix/store/mffzix64mb7vjl2kandfj05n4lz0k8fy-ldb-1.3.3/bin/ldbrename --help’ got 0 exit code
- found 1.3.3 with grep in /nix/store/mffzix64mb7vjl2kandfj05n4lz0k8fy-ldb-1.3.3
- directory tree listing: https://gist.github.com/c6a5cda289b4f02fa7a87af2345baf74
2018-05-12 14:39:22 +02:00

41 lines
1.1 KiB
Nix

{ stdenv, fetchurl, python, pkgconfig, readline, tdb, talloc, tevent
, popt, libxslt, docbook_xsl, docbook_xml_dtd_42, cmocka
}:
stdenv.mkDerivation rec {
name = "ldb-1.3.3";
src = fetchurl {
url = "mirror://samba/ldb/${name}.tar.gz";
sha256 = "14gsrm7dvyjpbpnc60z75j6fz2p187abm2h353lq95kx2bv70c1b" ;
};
outputs = [ "out" "dev" ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [
python readline tdb talloc tevent popt
libxslt docbook_xsl docbook_xml_dtd_42
cmocka
];
preConfigure = ''
sed -i 's,#!/usr/bin/env python,#!${python}/bin/python,g' buildtools/bin/waf
'';
configureFlags = [
"--bundled-libraries=NONE"
"--builtin-libraries=replace"
];
stripDebugList = "bin lib modules";
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;
};
}