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 {
|
2013-05-06 14:36:31 +02:00
|
|
|
name = "sip-4.14.6";
|
2010-03-23 15:04:47 +01:00
|
|
|
|
2009-02-25 17:05:13 +01:00
|
|
|
src = fetchurl {
|
2013-01-21 19:06:54 +01:00
|
|
|
urls = [
|
|
|
|
"http://www.riverbankcomputing.co.uk/static/Downloads/sip4/${name}.tar.gz"
|
2013-05-06 14:36:31 +02:00
|
|
|
"http://pkgs.fedoraproject.org/repo/pkgs/sip/${name}.tar.gz/d6493b9f0a7911566545f694327314c4/${name}.tar.gz"
|
2013-01-21 19:06:54 +01:00
|
|
|
];
|
2013-05-06 14:36:31 +02:00
|
|
|
sha256 = "1bwdd5xhrx8dx8rr86r043ddlbg7gd1vh0pm2nxw5l1yprwa7paa";
|
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";
|
2012-06-09 15:09:07 +02:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ urkud sander ];
|
2009-09-10 19:00:30 +02:00
|
|
|
};
|
2009-02-25 17:05:13 +01:00
|
|
|
}
|