add sip-4.16.1

This commit is contained in:
宋文武 2014-07-07 14:20:15 +08:00
parent 8f33899dd2
commit 05c0bb929e
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,26 @@
{ stdenv, fetchurl, python }:
stdenv.mkDerivation rec {
name = "sip-4.16.1";
src = fetchurl {
url = "mirror://sourceforge/pyqt/sip/${name}/${name}.tar.gz";
sha256 = "1hknl71ij924syc9ik9nk4z051q3n75y7w27q9i07awpd39sp7m4";
};
configurePhase = ''
${python.executable} ./configure.py \
-d $out/lib/${python.libPrefix}/site-packages \
-b $out/bin -e $out/include
'';
buildInputs = [ python ];
meta = with stdenv.lib; {
description = "Creates C++ bindings for Python modules";
homepage = "http://www.riverbankcomputing.co.uk/";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ lovek323 sander urkud ];
platforms = platforms.all;
};
}

View File

@ -168,6 +168,11 @@ rec {
inherit python;
};
sip_4_16 = import ../development/python-modules/sip/4.16.nix {
inherit (pkgs) stdenv fetchurl;
inherit python;
};
tables = import ../development/python-modules/tables {
inherit (pkgs) stdenv fetchurl bzip2 lzo;
inherit python buildPythonPackage cython numpy numexpr;