Skip to content

Commit 3de6ab6

Browse files
authored
python312Packages.willow: 1.8.0 -> 1.9.0 (#351563)
2 parents 6efd011 + 7961898 commit 3de6ab6

File tree

1 file changed

+12
-16
lines changed

1 file changed

+12
-16
lines changed

pkgs/development/python-modules/willow/default.nix

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,38 @@
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

2417
buildPythonPackage 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
};

0 commit comments

Comments
 (0)