File tree Expand file tree Collapse file tree 1 file changed +15
-14
lines changed
pkgs/development/python-modules/django-bootstrap5 Expand file tree Collapse file tree 1 file changed +15
-14
lines changed Original file line number Diff line number Diff line change 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
2116buildPythonPackage 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
You can’t perform that action at this time.
0 commit comments