@@ -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