mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 21:50:55 +00:00
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 {
|
||||
name = "twister-${version}";
|
||||
version = "0.9.34";
|
||||
|
@ -29,13 +31,13 @@ in stdenv.mkDerivation rec {
|
|||
"--disable-deprecated-functions"
|
||||
"--enable-tests"
|
||||
"--enable-python-binding"
|
||||
"--with-boost-libdir=${boost.out}/lib"
|
||||
"--with-boost-libdir=${boostPython.out}/lib"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [
|
||||
autoconf automake libtool python2
|
||||
boost db openssl geoip miniupnpc libiconv
|
||||
boostPython db openssl geoip miniupnpc libiconv
|
||||
];
|
||||
|
||||
patches = stdenv.lib.singleton (fetchpatch {
|
||||
|
|
Loading…
Reference in a new issue