8c0b7e4ad2
- cleanup python libraries: * moving all python libraries into a attr set into a directory so that expressions can be used for both: python 2.5 and 2.6 easily * disabling packages which don't build svn path=/nixpkgs/trunk/; revision=21142
21 lines
570 B
Nix
21 lines
570 B
Nix
{ stdenv, fetchurl, python }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "sip-4.10.1";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.riverbankcomputing.co.uk/static/Downloads/sip4/${name}.tar.gz";
|
|
sha256 = "16pdk86amcl4hnc9vv2y1ihl8ym9hjkh49andm4jahv4630qhc9h";
|
|
};
|
|
|
|
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 = [ stdenv.lib.maintainers.sander ];
|
|
};
|
|
}
|