nixpkgs-suyu/pkgs/development/python-modules/sip/default.nix

29 lines
780 B
Nix
Raw Normal View History

{ lib, fetchurl, buildPythonPackage, python, isPyPy }:
2018-07-01 16:39:07 +02:00
buildPythonPackage rec {
pname = "sip";
2018-07-01 16:39:07 +02:00
version = "4.19.8";
format = "other";
2018-07-01 16:39:07 +02:00
disabled = isPyPy;
src = fetchurl {
url = "mirror://sourceforge/pyqt/sip/${pname}-${version}/${pname}-${version}.tar.gz";
2018-07-01 16:39:07 +02:00
sha256 = "1g4pq9vj753r2s061jc4y9ydzgb48ibhc9bdvmb8mlyllwp7mbvy";
};
configurePhase = ''
${python.executable} ./configure.py \
-d $out/lib/${python.libPrefix}/site-packages \
-b $out/bin -e $out/include
'';
2016-08-31 11:01:16 +02:00
meta = with lib; {
description = "Creates C++ bindings for Python modules";
homepage = "http://www.riverbankcomputing.co.uk/";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ lovek323 sander ];
platforms = platforms.all;
};
}