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:
parent
179f9c4fd1
commit
b916ed31f2
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue