summary refs log tree commit diff
path: root/pkgs/development/python-modules/sip
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2017-03-21 13:01:17 +0100
committerFrederik Rietdijk <fridh@fridh.nl>2017-03-21 13:01:49 +0100
commit3760c8c7fde6e8b15d19b063579d05018fc2d8b3 (patch)
treeb081b03bcb4bc6f9de14a96c185e4731a64355d5 /pkgs/development/python-modules/sip
parent1b0d9e9ae64b677c09f345f740f5a94fa41eb468 (diff)
downloadnixpkgs-3760c8c7fde6e8b15d19b063579d05018fc2d8b3.tar
nixpkgs-3760c8c7fde6e8b15d19b063579d05018fc2d8b3.tar.gz
nixpkgs-3760c8c7fde6e8b15d19b063579d05018fc2d8b3.tar.bz2
nixpkgs-3760c8c7fde6e8b15d19b063579d05018fc2d8b3.tar.lz
nixpkgs-3760c8c7fde6e8b15d19b063579d05018fc2d8b3.tar.xz
nixpkgs-3760c8c7fde6e8b15d19b063579d05018fc2d8b3.tar.zst
nixpkgs-3760c8c7fde6e8b15d19b063579d05018fc2d8b3.zip
Python: replace mkPythonDerivation with buildPythonPackage and format="other";
This way all Python packages use the same function,
`buildPythonPackage`.
Diffstat (limited to 'pkgs/development/python-modules/sip')
-rw-r--r--pkgs/development/python-modules/sip/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/sip/default.nix b/pkgs/development/python-modules/sip/default.nix
index 99d3c89e1f9..29295de66b7 100644
--- a/pkgs/development/python-modules/sip/default.nix
+++ b/pkgs/development/python-modules/sip/default.nix
@@ -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";