summary refs log tree commit diff
path: root/pkgs/development/libraries/libproxy
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2019-12-14 23:01:02 +0100
committerJan Tojnar <jtojnar@gmail.com>2019-12-15 01:50:39 +0100
commitf288a7c077f945ff4a1ac9c88bd2d003b9cc94f7 (patch)
tree4829cdba7c069e5790d31e7786f4333c2d48b432 /pkgs/development/libraries/libproxy
parent628abfebfa53c7723f649e77e40f1cc4ea904fcf (diff)
downloadnixpkgs-f288a7c077f945ff4a1ac9c88bd2d003b9cc94f7.tar
nixpkgs-f288a7c077f945ff4a1ac9c88bd2d003b9cc94f7.tar.gz
nixpkgs-f288a7c077f945ff4a1ac9c88bd2d003b9cc94f7.tar.bz2
nixpkgs-f288a7c077f945ff4a1ac9c88bd2d003b9cc94f7.tar.lz
nixpkgs-f288a7c077f945ff4a1ac9c88bd2d003b9cc94f7.tar.xz
nixpkgs-f288a7c077f945ff4a1ac9c88bd2d003b9cc94f7.tar.zst
nixpkgs-f288a7c077f945ff4a1ac9c88bd2d003b9cc94f7.zip
libproxy: remove Python 2 bidnings
Nothing was using them.

Another step in Python 2 removal.
Diffstat (limited to 'pkgs/development/libraries/libproxy')
-rw-r--r--pkgs/development/libraries/libproxy/default.nix6
1 files changed, 2 insertions, 4 deletions
diff --git a/pkgs/development/libraries/libproxy/default.nix b/pkgs/development/libraries/libproxy/default.nix
index c9b08079c38..8d4febcde28 100644
--- a/pkgs/development/libraries/libproxy/default.nix
+++ b/pkgs/development/libraries/libproxy/default.nix
@@ -11,7 +11,6 @@
 , gsettings-desktop-schemas
 , glib
 , makeWrapper
-, python2
 , python3
 , SystemConfiguration
 , CoreFoundation
@@ -29,7 +28,7 @@ stdenv.mkDerivation rec {
     sha256 = "10swd3x576pinx33iwsbd4h15fbh2snmfxzcmab4c56nb08qlbrs";
   };
 
-  outputs = [ "out" "dev" "py2" "py3" ];
+  outputs = [ "out" "dev" "py3" ];
 
   nativeBuildInputs = [
     pkgconfig
@@ -39,7 +38,6 @@ stdenv.mkDerivation rec {
 
   buildInputs = [
     pcre
-    python2
     python3
     zlib
   ] ++ (if stdenv.hostPlatform.isDarwin then [
@@ -55,7 +53,7 @@ stdenv.mkDerivation rec {
 
   cmakeFlags = [
     "-DWITH_MOZJS=ON"
-    "-DPYTHON2_SITEPKG_DIR=${placeholder "py2"}/${python2.sitePackages}"
+    "-DWITH_PYTHON2=OFF"
     "-DPYTHON3_SITEPKG_DIR=${placeholder "py3"}/${python3.sitePackages}"
   ];