Skip to content

Commit b641e3d

Browse files
authored
python312Packages.django-bootstrap5: 24.1 -> 24.3 (#373993)
2 parents f15e739 + c22c6a5 commit b641e3d

File tree

1 file changed

+15
-14
lines changed
  • pkgs/development/python-modules/django-bootstrap5

1 file changed

+15
-14
lines changed

pkgs/development/python-modules/django-bootstrap5/default.nix

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,21 @@
11
{
22
lib,
3+
beautifulsoup4,
34
buildPythonPackage,
4-
fetchFromGitHub,
5-
pythonOlder,
6-
7-
# build-system
8-
setuptools,
9-
setuptools-scm,
10-
11-
# dependencies
125
django,
13-
14-
# tests
15-
beautifulsoup4,
6+
fetchFromGitHub,
7+
jinja2,
168
pillow,
179
pytest-django,
1810
pytestCheckHook,
11+
pythonOlder,
12+
setuptools-scm,
13+
setuptools,
1914
}:
2015

2116
buildPythonPackage rec {
2217
pname = "django-bootstrap5";
23-
version = "24.1";
18+
version = "24.3";
2419
pyproject = true;
2520

2621
disabled = pythonOlder "3.7";
@@ -29,21 +24,27 @@ buildPythonPackage rec {
2924
owner = "zostera";
3025
repo = "django-bootstrap5";
3126
rev = "v${version}";
32-
hash = "sha256-JbmwEPkj34tsK3tUtb56FPjU0emwERVXEc4fzlepdXY=";
27+
hash = "sha256-8e0Pi4uSvQhiLYiMgOqWJWDc/KPMXxyU5pnT9jvFZLU=";
3328
};
3429

3530
build-system = [
3631
setuptools
3732
setuptools-scm
3833
];
3934

35+
dependencies = [ django ];
36+
37+
optional-dependencies = {
38+
jinja = [ jinja2 ];
39+
};
40+
4041
nativeCheckInputs = [
4142
beautifulsoup4
4243
(django.override { withGdal = true; })
4344
pillow
4445
pytest-django
4546
pytestCheckHook
46-
];
47+
] ++ lib.flatten (builtins.attrValues optional-dependencies);
4748

4849
preCheck = ''
4950
export DJANGO_SETTINGS_MODULE=tests.app.settings

0 commit comments

Comments
 (0)