about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/willow/default.nix
blob: f7030f7c874eb43446e61517dbf6d2568b83ae70 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder

# dependencies
, filetype
, defusedxml,
}:

buildPythonPackage rec {
  pname = "willow";
  version = "1.5.1";
  format = "setuptools";

  disabled = pythonOlder "2.7";

  src = fetchPypi {
    pname = "Willow";
    inherit version;
    hash = "sha256-t6SQkRATP9seIodZLgZzzCVeAobhzVNCfuaN8ckiDEw=";
  };

  propagatedBuildInputs = [
    filetype
    defusedxml
  ];

  # Test data is not included
  # https://github.com/torchbox/Willow/issues/34
  doCheck = false;

  meta = with lib; {
    description = "A Python image library that sits on top of Pillow, Wand and OpenCV";
    homepage = "https://github.com/torchbox/Willow/";
    license = licenses.bsd2;
    maintainers = with maintainers; [ desiderius ];
  };

}