1{ stdenv, fetchurl, python, pkgconfig, readline, talloc
2, libxslt, docbook_xsl, docbook_xml_dtd_42
3}:
4
5stdenv.mkDerivation rec {
6 name = "tevent-0.9.35";
7
8 src = fetchurl {
9 url = "mirror://samba/tevent/${name}.tar.gz";
10 sha256 = "1s8nbkmqz8dzdlsd6qynhvyl05pw93r151f3i2kgjfpbck9ak8r5";
11 };
12
13 nativeBuildInputs = [ pkgconfig ];
14 buildInputs = [
15 python readline talloc libxslt docbook_xsl docbook_xml_dtd_42
16 ];
17
18 preConfigure = ''
19 sed -i 's,#!/usr/bin/env python,#!${python}/bin/python,g' buildtools/bin/waf
20 '';
21
22 configureFlags = [
23 "--bundled-libraries=NONE"
24 "--builtin-libraries=replace"
25 ];
26
27 meta = with stdenv.lib; {
28 description = "An event system based on the talloc memory management library";
29 homepage = http://tevent.samba.org/;
30 license = licenses.lgpl3Plus;
31 maintainers = with maintainers; [ wkennington ];
32 platforms = platforms.all;
33 };
34}