2010-03-23 15:04:47 +01:00
|
|
|
{ stdenv, fetchurl, python }:
|
2009-02-25 17:05:13 +01:00
|
|
|
|
2010-04-11 23:03:51 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2010-07-19 10:25:09 +02:00
|
|
|
name = "sip-4.10.5";
|
2010-03-23 15:04:47 +01:00
|
|
|
|
2009-02-25 17:05:13 +01:00
|
|
|
src = fetchurl {
|
2010-04-11 23:03:51 +02:00
|
|
|
url = "http://www.riverbankcomputing.co.uk/static/Downloads/sip4/${name}.tar.gz";
|
2010-07-19 10:25:09 +02:00
|
|
|
sha256 = "1hkn2n5hvfcfz0xprwyy5dzjzndgmvlf7abjsd868pv3hxdx1rs8";
|
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
|
|
|
}
|