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

32 lines
887 B
Nix
Raw Normal View History

{ lib, fetchurl, buildPythonPackage, python, isPyPy, sip-module ? "sip" }:
2018-07-01 15:39:07 +01:00
buildPythonPackage rec {
pname = sip-module;
2019-02-25 14:40:06 +00:00
version = "4.19.14";
format = "other";
2018-07-01 15:39:07 +01:00
disabled = isPyPy;
src = fetchurl {
2019-02-25 14:40:06 +00:00
url = "https://www.riverbankcomputing.com/static/Downloads/sip/${version}/sip-${version}.tar.gz";
sha256 = "11xgs3rf5qh5qh459biwnc2j5y08jps3j0p6hcgi7f63pifpdwqf";
};
configurePhase = ''
${python.executable} ./configure.py \
--sip-module ${sip-module} \
-d $out/lib/${python.libPrefix}/site-packages \
-b $out/bin -e $out/include
'';
enableParallelBuilding = true;
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;
};
}