diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2016-08-31 11:01:16 +0200 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2016-09-01 16:16:31 +0200 |
commit | 4f6b6f14726296c1d402f187db995031bccd791f (patch) | |
tree | 56b714c2eb6d16e4bfd98f9c64c84fbfbac3c031 /pkgs/development/python-modules/sip | |
parent | e9c4d00cacea699c0e23e7c09967dd3fe12edc23 (diff) |
pythonPackages: use mkPythonDerivation
Diffstat (limited to 'pkgs/development/python-modules/sip')
-rw-r--r-- | pkgs/development/python-modules/sip/default.nix | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/sip/default.nix b/pkgs/development/python-modules/sip/default.nix index cbee1867cf63c..e44f92ab013d1 100644 --- a/pkgs/development/python-modules/sip/default.nix +++ b/pkgs/development/python-modules/sip/default.nix @@ -1,6 +1,6 @@ -{ stdenv, fetchurl, python, isPyPy }: +{ lib, fetchurl, mkPythonDerivation, python, isPyPy }: -if isPyPy then throw "sip not supported for interpreter ${python.executable}" else stdenv.mkDerivation rec { +if isPyPy then throw "sip not supported for interpreter ${python.executable}" else mkPythonDerivation rec { name = "sip-4.18.1"; src = fetchurl { @@ -14,11 +14,7 @@ if isPyPy then throw "sip not supported for interpreter ${python.executable}" el -b $out/bin -e $out/include ''; - buildInputs = [ python ]; - - passthru.pythonPath = []; - - meta = with stdenv.lib; { + meta = with lib; { description = "Creates C++ bindings for Python modules"; homepage = "http://www.riverbankcomputing.co.uk/"; license = licenses.gpl2Plus; |