Python: replace mkPythonDerivation with buildPythonPackage and format="other";

This way all Python packages use the same function,
`buildPythonPackage`.
This commit is contained in:
Frederik Rietdijk
2017-03-21 13:01:17 +01:00
parent 1b0d9e9ae6
commit 3760c8c7fd
18 changed files with 55 additions and 35 deletions

View File

@@ -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";

View File

@@ -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";