nixpkgs/pkgs/development/python-modules/python-sip/default.nix

24 lines
712 B
Nix
Raw Normal View History

{ stdenv, fetchurl, python }:
stdenv.mkDerivation rec {
name = "sip-4.14.6";
src = fetchurl {
2013-01-21 19:06:54 +01:00
urls = [
"http://www.riverbankcomputing.co.uk/static/Downloads/sip4/${name}.tar.gz"
"http://pkgs.fedoraproject.org/repo/pkgs/sip/${name}.tar.gz/d6493b9f0a7911566545f694327314c4/${name}.tar.gz"
2013-01-21 19:06:54 +01:00
];
sha256 = "1bwdd5xhrx8dx8rr86r043ddlbg7gd1vh0pm2nxw5l1yprwa7paa";
};
configurePhase = "python ./configure.py -d $out/lib/${python.libPrefix}/site-packages -b $out/bin -e $out/include";
buildInputs = [ python ];
meta = {
description = "Creates C++ bindings for Python modules";
license = "GPL";
maintainers = with stdenv.lib.maintainers; [ urkud sander ];
};
}