nixpkgs/pkgs/development/python-modules/python-sip/default.nix
Eelco Dolstra bf8e36dd4f * Revert PyQt and sip because the upgrade breaks KDE, but use
tarballs on nixos.org.

svn path=/nixpkgs/trunk/; revision=26164
2011-03-04 19:57:52 +00:00

21 lines
538 B
Nix

{ stdenv, fetchurl, python }:
stdenv.mkDerivation rec {
name = "sip-4.11.2";
src = fetchurl {
url = "http://nixos.org/tarballs/${name}.tar.gz";
sha256 = "0g1pj203m491rhy111ayr4k4lsbcqd8sa1np503xv94a90b05l6f";
};
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 ];
};
}