mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 08:01:31 +00:00
pythonPackages.sip: rename to sip_4
sip 4 is the old and unmaintained version
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user