Files
nixpkgs/pkgs/development/python-modules/sip/default.nix
T

28 lines
849 B
Nix
Raw Normal View History

{ lib, fetchurl, buildPythonPackage, python, isPyPy }:
if isPyPy then throw "sip not supported for interpreter ${python.executable}" else buildPythonPackage rec {
2017-05-27 11:25:35 +02:00
pname = "sip";
2017-09-23 16:31:19 -05:00
version = "4.19.3";
2017-05-27 11:25:35 +02:00
name = "${pname}-${version}";
format = "other";
src = fetchurl {
url = "mirror://sourceforge/pyqt/sip/${name}/${name}.tar.gz";
2017-09-23 16:31:19 -05:00
sha256 = "0x2bghbprwl3az1ni3p87i0bq8r99694la93kg65vi0cz12gh3bl";
};
2013-07-04 15:07:02 +10:00
configurePhase = ''
${python.executable} ./configure.py \
-d $out/lib/${python.libPrefix}/site-packages \
2013-07-04 15:07:02 +10:00
-b $out/bin -e $out/include
'';
2016-08-31 11:01:16 +02:00
meta = with lib; {
2009-09-10 17:00:30 +00:00
description = "Creates C++ bindings for Python modules";
homepage = "http://www.riverbankcomputing.co.uk/";
license = licenses.gpl2Plus;
2017-03-27 19:11:17 +02:00
maintainers = with maintainers; [ lovek323 sander ];
2013-07-04 15:07:02 +10:00
platforms = platforms.all;
2009-09-10 17:00:30 +00:00
};
}