twister: Use boost with Python support

Since 772eef9168, Boost by default doesn't
support Python anymore, so we need to override it with Python support.

Signed-off-by: aszlig <aszlig@nix.build>
This commit is contained in:
aszlig 2018-07-01 19:38:06 +02:00
parent 179f9c4fd1
commit b916ed31f2
No known key found for this signature in database
GPG Key ID: 684089CE67EBB691
1 changed files with 4 additions and 2 deletions

View File

@ -13,6 +13,8 @@ let
}; };
}; };
boostPython = boost.override { enablePython = true; };
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
name = "twister-${version}"; name = "twister-${version}";
version = "0.9.34"; version = "0.9.34";
@ -29,13 +31,13 @@ in stdenv.mkDerivation rec {
"--disable-deprecated-functions" "--disable-deprecated-functions"
"--enable-tests" "--enable-tests"
"--enable-python-binding" "--enable-python-binding"
"--with-boost-libdir=${boost.out}/lib" "--with-boost-libdir=${boostPython.out}/lib"
]; ];
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];
buildInputs = [ buildInputs = [
autoconf automake libtool python2 autoconf automake libtool python2
boost db openssl geoip miniupnpc libiconv boostPython db openssl geoip miniupnpc libiconv
]; ];
patches = stdenv.lib.singleton (fetchpatch { patches = stdenv.lib.singleton (fetchpatch {