libproxy: remove Python 2 bidnings
Nothing was using them. Another step in Python 2 removal.
This commit is contained in:
parent
628abfebfa
commit
f288a7c077
@ -11,7 +11,6 @@
|
|||||||
, gsettings-desktop-schemas
|
, gsettings-desktop-schemas
|
||||||
, glib
|
, glib
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
, python2
|
|
||||||
, python3
|
, python3
|
||||||
, SystemConfiguration
|
, SystemConfiguration
|
||||||
, CoreFoundation
|
, CoreFoundation
|
||||||
@ -29,7 +28,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "10swd3x576pinx33iwsbd4h15fbh2snmfxzcmab4c56nb08qlbrs";
|
sha256 = "10swd3x576pinx33iwsbd4h15fbh2snmfxzcmab4c56nb08qlbrs";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [ "out" "dev" "py2" "py3" ];
|
outputs = [ "out" "dev" "py3" ];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkgconfig
|
pkgconfig
|
||||||
@ -39,7 +38,6 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
pcre
|
pcre
|
||||||
python2
|
|
||||||
python3
|
python3
|
||||||
zlib
|
zlib
|
||||||
] ++ (if stdenv.hostPlatform.isDarwin then [
|
] ++ (if stdenv.hostPlatform.isDarwin then [
|
||||||
@ -55,7 +53,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DWITH_MOZJS=ON"
|
"-DWITH_MOZJS=ON"
|
||||||
"-DPYTHON2_SITEPKG_DIR=${placeholder "py2"}/${python2.sitePackages}"
|
"-DWITH_PYTHON2=OFF"
|
||||||
"-DPYTHON3_SITEPKG_DIR=${placeholder "py3"}/${python3.sitePackages}"
|
"-DPYTHON3_SITEPKG_DIR=${placeholder "py3"}/${python3.sitePackages}"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user