File tree Expand file tree Collapse file tree 1 file changed +12
-16
lines changed
pkgs/development/python-modules/willow Expand file tree Collapse file tree 1 file changed +12
-16
lines changed Original file line number Diff line number Diff line change 11{
22 lib ,
33 buildPythonPackage ,
4+ defusedxml ,
45 fetchFromGitHub ,
5-
6- # build-system
7- flit-core ,
8-
9- # dependencies
106 filetype ,
11- defusedxml ,
12-
13- # optional-dependencies
14- pillow-heif ,
15-
16- # tests
7+ flit-core ,
178 numpy ,
189 opencv4 ,
10+ pillow-heif ,
1911 pillow ,
2012 pytestCheckHook ,
13+ pythonOlder ,
2114 wand ,
2215} :
2316
2417buildPythonPackage rec {
2518 pname = "willow" ;
26- version = "1.8.0" ;
27- format = "pyproject" ;
19+ version = "1.9.0" ;
20+ pyproject = true ;
21+
22+ disabled = pythonOlder "3.9" ;
2823
2924 src = fetchFromGitHub {
3025 owner = "wagtail" ;
3126 repo = "Willow" ;
3227 rev = "refs/tags/v${ version } " ;
33- hash = "sha256-g9/v56mdo0sJe5Pl/to/R/kXayaKK3qaYbnnPXpFjXE =" ;
28+ hash = "sha256-H/UXE6gA6x849aqBcUgl3JYZ87OMNpuFyWGSsgqW1Rk =" ;
3429 } ;
3530
36- nativeBuildInputs = [ flit-core ] ;
31+ build-system = [ flit-core ] ;
3732
3833 pythonRelaxDeps = [ "defusedxml" ] ;
3934
40- propagatedBuildInputs = [
35+ dependencies = [
4136 filetype
4237 defusedxml
4338 ] ;
@@ -57,6 +52,7 @@ buildPythonPackage rec {
5752 meta = with lib ; {
5853 description = "Python image library that sits on top of Pillow, Wand and OpenCV" ;
5954 homepage = "https://github.com/torchbox/Willow/" ;
55+ changelog = "https://github.com/wagtail/Willow/releases/tag/v${ version } " ;
6056 license = licenses . bsd2 ;
6157 maintainers = with maintainers ; [ desiderius ] ;
6258 } ;
You can’t perform that action at this time.
0 commit comments