9dd466d123
* Removed some unused versions of those packages. * Don't pass `lib' to packages (because we already have `stdenv.lib'). * Removed some `*_python26' variants because Python 2.6 is the default now. svn path=/nixpkgs/trunk/; revision=20782
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 ];
|
|
};
|
|
}
|