1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/sip/default.nix

29 lines
781 B
Nix
Raw Normal View History

{ lib, fetchurl, buildPythonPackage, python, isPyPy }:
2018-07-01 15:39:07 +01:00
buildPythonPackage rec {
pname = "sip";
2018-10-29 13:37:57 +00:00
version = "4.19.13";
format = "other";
2018-07-01 15:39:07 +01:00
disabled = isPyPy;
src = fetchurl {
url = "mirror://sourceforge/pyqt/sip/${pname}-${version}/${pname}-${version}.tar.gz";
2018-10-29 13:37:57 +00:00
sha256 = "0pniq03jk1n5bs90yjihw3s3rsmjd8m89y9zbnymzgwrcl2sflz3";
};
configurePhase = ''
${python.executable} ./configure.py \
-d $out/lib/${python.libPrefix}/site-packages \
-b $out/bin -e $out/include
'';
2016-08-31 10:01:16 +01: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;
};
}