2010-03-23 14:04:47 +00:00
|
|
|
{ stdenv, fetchurl, python }:
|
2009-02-25 16:05:13 +00:00
|
|
|
|
2010-04-11 22:03:51 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2012-06-09 14:09:07 +01:00
|
|
|
name = "sip-4.13.2";
|
2010-03-23 14:04:47 +00:00
|
|
|
|
2009-02-25 16:05:13 +00:00
|
|
|
src = fetchurl {
|
2011-07-21 21:14:17 +01:00
|
|
|
url = "http://www.riverbankcomputing.co.uk/static/Downloads/sip4/${name}.tar.gz";
|
2012-06-09 14:09:07 +01:00
|
|
|
sha256 = "1gzff61bi22g6fkdg9iya4q2qfdkwxs19v4rhhf8x4bm7hszbhsb";
|
2009-02-25 16:05:13 +00:00
|
|
|
};
|
2010-03-23 14:04:47 +00:00
|
|
|
|
2010-01-07 22:47:30 +00:00
|
|
|
configurePhase = "python ./configure.py -d $out/lib/${python.libPrefix}/site-packages -b $out/bin -e $out/include";
|
2010-03-23 14:04:47 +00:00
|
|
|
|
2009-02-25 16:05:13 +00:00
|
|
|
buildInputs = [ python ];
|
2010-03-23 14:04:47 +00:00
|
|
|
|
2009-09-10 18:00:30 +01:00
|
|
|
meta = {
|
|
|
|
description = "Creates C++ bindings for Python modules";
|
|
|
|
license = "GPL";
|
2012-06-09 14:09:07 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ urkud sander ];
|
2009-09-10 18:00:30 +01:00
|
|
|
};
|
2009-02-25 16:05:13 +00:00
|
|
|
}
|