3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/tevent/default.nix
William A. Kennington III 731e833e99 tevent: 0.9.22 -> 0.9.23
2015-03-03 12:55:40 -08:00

34 lines
878 B
Nix

{ stdenv, fetchurl, python, pkgconfig, readline, talloc
, libxslt, docbook_xsl, docbook_xml_dtd_42
}:
stdenv.mkDerivation rec {
name = "tevent-0.9.23";
src = fetchurl {
url = "mirror://samba/tevent/${name}.tar.gz";
sha256 = "10ram0wqj19dq4cjr1mdb0yzijm3bbiflw7jl9wng0g8p4a81xpk";
};
buildInputs = [
python pkgconfig readline talloc 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 = "an event system based on the talloc memory management library.";
homepage = http://tevent.samba.org/;
license = licenses.lgpl3Plus;
maintainers = with maintainers; [ wkennington ];
platforms = platforms.all;
};
}