git.iko.soy/typeable/nixpkgs
on master help sign in
libtorrent-rasterbar: Use Boost supporting Python

Since 772eef91686974b7710081a9a77e5c0e287c25e8, the Boost package doesn't support Python by default anymore, so we need to override it with Python support because --enable-python-binding is enabled by default in libtorrent-rasterbar. The build of the package now succeeds again on my x86_64-linux machine. Signed-off-by: aszlig <aszlig@nix.build> Cc: @phreedom

commitf081ccccd17f93871bcde47b0c0ed11347bb8335 authoraszlig <aszlig@nix.build> dateSun 1 Jul 2018, 19:48 (8 years ago) parentb916ed3
1 file changed+6−3
pkgs/development/libraries/libtorrent-rasterbar/default.nix+6−3
pkgs/development/libraries/libtorrent-rasterbar/default.nix+6−3
@@ -4,6 +4,9 @@
44let
55 version = "1.1.7";
66 formattedVersion = lib.replaceChars ["."] ["_"] version;
7+
8+ boostPython = boost.override { enablePython = true; };
9+
710in stdenv.mkDerivation {
811 name = "libtorrent-rasterbar-${version}";
912
@@ -27,15 +30,15 @@ in stdenv.mkDerivation {
2730
2831 enableParallelBuilding = true;
2932 nativeBuildInputs = [ automake autoconf libtool pkgconfig ];
30− buildInputs = [ boost openssl zlib python libiconv geoip ];
33+ buildInputs = [ boostPython openssl zlib python libiconv geoip ];
3134 preConfigure = "./autotool.sh";
3235
3336 configureFlags = [
3437 "--enable-python-binding"
3538 "--with-libgeoip=system"
3639 "--with-libiconv=yes"
37− "--with-boost=${boost.dev}"
38− "--with-boost-libdir=${boost.out}/lib"
40+ "--with-boost=${boostPython.dev}"
41+ "--with-boost-libdir=${boostPython.out}/lib"
3942 "--with-libiconv=yes"
4043 ];
4144