pil uses buildPythonPackage and is now actually also built for 2.6

This commit is contained in:
Florian Friesdorf
2012-12-03 07:36:57 +01:00
parent d76e4420af
commit cd905b16af
2 changed files with 7 additions and 6 deletions

View File

@@ -1,9 +1,9 @@
{ fetchurl, stdenv, python, libjpeg, zlib, freetype }:
{ fetchurl, stdenv, python, buildPythonPackage, libjpeg, zlib, freetype }:
let version = "1.1.7"; in
stdenv.mkDerivation {
name = "python-imaging-${version}";
buildPythonPackage {
name = "imaging-${version}";
src = fetchurl {
url = "http://effbot.org/downloads/Imaging-${version}.tar.gz";
@@ -23,7 +23,7 @@ stdenv.mkDerivation {
buildPhase = "python setup.py build_ext -i";
checkPhase = "python selftest.py";
installPhase = "python setup.py install --prefix=$out";
#installPhase = "python setup.py install --prefix=$out";
meta = {
homepage = http://www.pythonware.com/products/pil/;