pythonPackages.sip: rename to sip_4

sip 4 is the old and unmaintained version
This commit is contained in:
Eduardo Sánchez Muñoz
2021-05-03 13:43:20 +02:00
parent 4f675ad255
commit 08a26e4579
23 changed files with 34 additions and 34 deletions

View File

@@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, buildPythonPackage, python, dbus-python, sip, qt4, pkg-config, lndir, dbus, makeWrapper }:
{ lib, stdenv, fetchurl, buildPythonPackage, python, dbus-python, sip_4, qt4, pkg-config, lndir, dbus, makeWrapper }:
buildPythonPackage rec {
pname = "PyQt-x11-gpl";
@@ -45,7 +45,7 @@ buildPythonPackage rec {
nativeBuildInputs = [ pkg-config lndir makeWrapper qt4 ];
buildInputs = [ qt4 dbus ];
propagatedBuildInputs = [ sip ];
propagatedBuildInputs = [ sip_4 ];
postInstall = ''
for i in $out/bin/*; do

View File

@@ -18,7 +18,7 @@ let
sip = if isPy3k then
pythonPackages.sip_5
else
(pythonPackages.sip.override { sip-module = "PyQt5.sip"; }).overridePythonAttrs(oldAttrs: {
(pythonPackages.sip_4.override { sip-module = "PyQt5.sip"; }).overridePythonAttrs(oldAttrs: {
# If we install sip in another folder, then we need to create a __init__.py as well
# if we want to be able to import it with Python 2.
# Python 3 could rely on it being an implicit namespace package, however,