1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/pilkit/default.nix
2018-10-30 00:50:45 -04:00

37 lines
812 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, pillow
, nose_progressive
, nose
, mock
, blessings
}:
buildPythonPackage rec {
pname = "pilkit";
version = "1.1.4";
src = fetchPypi {
inherit pname version;
sha256 = "e00585f5466654ea2cdbf7decef9862cb00e16fd363017fa7ef6623a16b0d2c7";
};
preConfigure = ''
substituteInPlace setup.py --replace 'nose==1.2.1' 'nose'
'';
# tests fail, see https://github.com/matthewwithanm/pilkit/issues/9
doCheck = false;
buildInputs = [ pillow nose_progressive nose mock blessings ];
meta = with stdenv.lib; {
homepage = http://github.com/matthewwithanm/pilkit/;
description = "A collection of utilities and processors for the Python Imaging Libary";
license = licenses.bsd0;
maintainers = with maintainers; [ domenkozar ];
};
}