2010-03-23 15:04:47 +01:00
|
|
|
{ stdenv, fetchurl, python }:
|
2009-02-25 17:05:13 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2009-10-01 14:06:35 +02:00
|
|
|
name = "sip-4.8.2";
|
2010-03-23 15:04:47 +01:00
|
|
|
|
2009-02-25 17:05:13 +01:00
|
|
|
src = fetchurl {
|
2009-10-01 14:06:35 +02:00
|
|
|
url = http://pyqwt.sourceforge.net/support/sip-4.8.2.tar.gz; # Not downloading from riverbank, since they remove older releases
|
|
|
|
sha256 = "1afr2qaibzgf8fq4fmc31jz9hvbwxbg5jvl68ygvkkdvnbg2kfrf";
|
2009-02-25 17:05:13 +01:00
|
|
|
};
|
2010-03-23 15:04:47 +01:00
|
|
|
|
2010-01-07 23:47:30 +01:00
|
|
|
configurePhase = "python ./configure.py -d $out/lib/${python.libPrefix}/site-packages -b $out/bin -e $out/include";
|
2010-03-23 15:04:47 +01:00
|
|
|
|
2009-02-25 17:05:13 +01:00
|
|
|
buildInputs = [ python ];
|
2010-03-23 15:04:47 +01:00
|
|
|
|
2009-09-10 19:00:30 +02:00
|
|
|
meta = {
|
|
|
|
description = "Creates C++ bindings for Python modules";
|
|
|
|
license = "GPL";
|
2010-03-23 15:04:47 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.sander ];
|
2009-09-10 19:00:30 +02:00
|
|
|
};
|
2009-02-25 17:05:13 +01:00
|
|
|
}
|