Commit a36d319f authored by Wanja Zaeske's avatar Wanja Zaeske Committed by wucke13
Browse files

tevent: 0.10.2 -> 0.13.0

parent 0b1723cc
Loading
Loading
Loading
Loading
+11 −2
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
, fetchurl
, python3
, pkg-config
, cmocka
, readline
, talloc
, libxslt
@@ -13,11 +14,11 @@

stdenv.mkDerivation rec {
  pname = "tevent";
  version = "0.10.2";
  version = "0.13.0";

  src = fetchurl {
    url = "mirror://samba/tevent/${pname}-${version}.tar.gz";
    sha256 = "15k6i8ad5lpxfjsjyq9h64zlyws8d3cm0vwdnaw8z1xjwli7hhpq";
    sha256 = "sha256-uUN6kX+lU0Q2G+tk7J4AQumcroh5iCpi3Tj2q+I3HQw=";
  };

  nativeBuildInputs = [
@@ -32,10 +33,18 @@ stdenv.mkDerivation rec {

  buildInputs = [
    python3
    cmocka
    readline # required to build python
    talloc
  ];

  # otherwise the configure script fails with
  # PYTHONHASHSEED=1 missing! Don't use waf directly, use ./configure and make!
  preConfigure = ''
    export PKGCONFIG="$PKG_CONFIG"
    export PYTHONHASHSEED=1
  '';

  wafPath = "buildtools/bin/waf";

  wafConfigureFlags = [