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

@@ -1,7 +1,8 @@
{ lib, fetchurl, mkPythonDerivation, python, isPyPy }:
{ lib, fetchurl, buildPythonPackage, python, isPyPy }:
if isPyPy then throw "sip not supported for interpreter ${python.executable}" else mkPythonDerivation rec {
if isPyPy then throw "sip not supported for interpreter ${python.executable}" else buildPythonPackage rec {
name = "sip-4.19.1";
format = "other";
src = fetchurl {
url = "mirror://sourceforge/pyqt/sip/${name}/${name}.tar.gz";