Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-19.03 31 lines 865 B view raw
1{ lib, fetchurl, buildPythonPackage, python, isPyPy, sip-module ? "sip" }: 2 3buildPythonPackage rec { 4 pname = sip-module; 5 version = "4.19.13"; 6 format = "other"; 7 8 disabled = isPyPy; 9 10 src = fetchurl { 11 url = "mirror://sourceforge/pyqt/sip/sip-${version}/sip-${version}.tar.gz"; 12 sha256 = "0pniq03jk1n5bs90yjihw3s3rsmjd8m89y9zbnymzgwrcl2sflz3"; 13 }; 14 15 configurePhase = '' 16 ${python.executable} ./configure.py \ 17 --sip-module ${sip-module} \ 18 -d $out/lib/${python.libPrefix}/site-packages \ 19 -b $out/bin -e $out/include 20 ''; 21 22 enableParallelBuilding = true; 23 24 meta = with lib; { 25 description = "Creates C++ bindings for Python modules"; 26 homepage = "http://www.riverbankcomputing.co.uk/"; 27 license = licenses.gpl2Plus; 28 maintainers = with maintainers; [ lovek323 sander ]; 29 platforms = platforms.all; 30 }; 31}