Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / pilkit / default.nix
blobbc21d6bf465eddd1a36b621563300e90d912dfdd
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pillow
5 , nose_progressive
6 , nose
7 , mock
8 , blessings
9 }:
11 buildPythonPackage rec {
12   pname = "pilkit";
13   version = "2.0";
15   src = fetchPypi {
16     inherit pname version;
17     sha256 = "ddb30c2f0198a147e56b151476c3bb9fe045fbfd5b0a0fa2a3148dba62d1559f";
18   };
20   preConfigure = ''
21     substituteInPlace setup.py --replace 'nose==1.2.1' 'nose'
22   '';
24   # tests fail, see https://github.com/matthewwithanm/pilkit/issues/9
25   doCheck = false;
27   buildInputs = [ pillow nose_progressive nose mock blessings ];
29   meta = with lib; {
30     homepage = "https://github.com/matthewwithanm/pilkit/";
31     description = "A collection of utilities and processors for the Python Imaging Libary";
32     license = licenses.bsd0;
33     maintainers = with maintainers; [ domenkozar ];
34   };