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
611 B
Nix
21 lines
611 B
Nix
{ stdenv, fetchurl, python }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "sip-4.8.2";
|
|
|
|
src = fetchurl {
|
|
url = http://pyqwt.sourceforge.net/support/sip-4.8.2.tar.gz; # Not downloading from riverbank, since they remove older releases
|
|
sha256 = "1afr2qaibzgf8fq4fmc31jz9hvbwxbg5jvl68ygvkkdvnbg2kfrf";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|