Python: replace mkPythonDerivation with buildPythonPackage and format="other";
This way all Python packages use the same function, `buildPythonPackage`.
This commit is contained in:
@@ -2,9 +2,10 @@
|
||||
|
||||
let
|
||||
version = "4.12";
|
||||
inherit (pythonPackages) mkPythonDerivation python dbus-python sip;
|
||||
in mkPythonDerivation {
|
||||
inherit (pythonPackages) buildPythonPackage python dbus-python sip;
|
||||
in buildPythonPackage {
|
||||
name = "PyQt-x11-gpl-${version}";
|
||||
format = "other";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/pyqt/PyQt4_gpl_x11-${version}.tar.gz";
|
||||
|
||||
@@ -3,9 +3,10 @@
|
||||
|
||||
let
|
||||
version = "5.8.1";
|
||||
inherit (pythonPackages) mkPythonDerivation python dbus-python sip;
|
||||
in mkPythonDerivation {
|
||||
inherit (pythonPackages) buildPythonPackage python dbus-python sip;
|
||||
in buildPythonPackage {
|
||||
name = "PyQt-${version}";
|
||||
format = "other";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python bindings for Qt5";
|
||||
|
||||
Reference in New Issue
Block a user