File tree Expand file tree Collapse file tree 5 files changed +16
-45
lines changed
development/python-modules Expand file tree Collapse file tree 5 files changed +16
-45
lines changed Original file line number Diff line number Diff line change 1414 packageOverrides = final : prev : {
1515 django = prev . django_5 ;
1616
17- django-bootstrap4 = prev . django-bootstrap4 . overridePythonAttrs ( oldAttrs : rec {
18- version = "3.0.0" ;
19- src = oldAttrs . src . override {
20- tag = "v${ version } " ;
21- hash = "sha256-a8BopUwZjmvxOzBVqs4fTo0SY8sEEloGUw90daYWfz8=" ;
22- } ;
23-
24- propagatedBuildInputs = with final ; [
25- beautifulsoup4
26- django
27- ] ;
28-
29- # fails with some assertions
30- doCheck = false ;
31- } ) ;
32-
3317 django-extensions = prev . django-extensions . overridePythonAttrs {
3418 # Compat issues with Django 5.1
3519 # https://github.com/django-extensions/django-extensions/issues/1885
@@ -127,7 +111,6 @@ python.pkgs.buildPythonApplication rec {
127111 defusedcsv
128112 defusedxml
129113 django
130- django-bootstrap4
131114 django-compressor
132115 django-context-decorator
133116 django-countries
Original file line number Diff line number Diff line change @@ -92,6 +92,7 @@ python.pkgs.buildPythonApplication rec {
9292
9393 pythonRelaxDeps = [
9494 "beautifulsoup4"
95+ "django-bootstrap3"
9596 "django-phonenumber-field"
9697 "dnspython"
9798 "drf_ujson2"
Original file line number Diff line number Diff line change 44 fetchFromGitHub ,
55
66 # build-system
7- setuptools ,
8- setuptools-scm ,
7+ hatchling ,
98
10- # non-propagates
9+ # dependencies
1110 django ,
1211
1312 # tests
1716
1817buildPythonPackage rec {
1918 pname = "django-bootstrap3" ;
20- version = "24.3 " ;
19+ version = "25.1 " ;
2120 format = "pyproject" ;
2221
2322 src = fetchFromGitHub {
2423 owner = "zostera" ;
2524 repo = "django-bootstrap3" ;
2625 tag = "v${ version } " ;
27- hash = "sha256-7aHGTa98NaHg6C+fxuQsrPk/8XjHB3awp+gAWysOhAw =" ;
26+ hash = "sha256-gRDU2IDE6cOVBJzdOs8Ww9mItMy/2DPMYusC0TCTqkI =" ;
2827 } ;
2928
30- nativeBuildInputs = [
31- setuptools
32- setuptools-scm
33- ] ;
29+ build-system = [ hatchling ] ;
3430
35- buildInputs = [ django ] ;
31+ dependencies = [ django ] ;
3632
3733 pythonImportsCheck = [ "bootstrap3" ] ;
3834
Original file line number Diff line number Diff line change 44 fetchFromGitHub ,
55
66 # build-system
7- setuptools ,
8- setuptools-scm ,
7+ hatchling ,
98
109 # non-propagates
1110 django ,
1413 beautifulsoup4 ,
1514
1615 # tests
17- python ,
1816 pytest-django ,
1917 pytestCheckHook ,
2018} :
2119
2220buildPythonPackage rec {
2321 pname = "django-bootstrap4" ;
24- version = "24.4 " ;
22+ version = "25.1 " ;
2523 pyproject = true ;
2624
2725 src = fetchFromGitHub {
2826 owner = "zostera" ;
2927 repo = "django-bootstrap4" ;
3028 tag = "v${ version } " ;
31- hash = "sha256-9URZ+10GVX171Zht49UQEDkVOZ7LfOtUvapLydzNAlk =" ;
29+ hash = "sha256-WIz7T2f3xvsT2rSq1MUFwHpvzgHyLgTRpzb9z98sUmo =" ;
3230 } ;
3331
34- build-system = [
35- setuptools
36- setuptools-scm
37- ] ;
32+ build-system = [ hatchling ] ;
3833
3934 dependencies = [ beautifulsoup4 ] ;
4035
Original file line number Diff line number Diff line change 44 buildPythonPackage ,
55 django ,
66 fetchFromGitHub ,
7+ hatchling ,
78 jinja2 ,
89 pillow ,
910 pytest-django ,
1011 pytestCheckHook ,
1112 pythonOlder ,
12- setuptools-scm ,
13- setuptools ,
1413} :
1514
1615buildPythonPackage rec {
1716 pname = "django-bootstrap5" ;
18- version = "24.3 " ;
17+ version = "25.1 " ;
1918 pyproject = true ;
2019
2120 disabled = pythonOlder "3.7" ;
@@ -24,13 +23,10 @@ buildPythonPackage rec {
2423 owner = "zostera" ;
2524 repo = "django-bootstrap5" ;
2625 rev = "v${ version } " ;
27- hash = "sha256-8e0Pi4uSvQhiLYiMgOqWJWDc/KPMXxyU5pnT9jvFZLU =" ;
26+ hash = "sha256-5VYw9Kq33/YFW9mFzkFzhrxavfx6r/CtC1SJhZbanhg =" ;
2827 } ;
2928
30- build-system = [
31- setuptools
32- setuptools-scm
33- ] ;
29+ build-system = [ hatchling ] ;
3430
3531 dependencies = [ django ] ;
3632
@@ -44,7 +40,7 @@ buildPythonPackage rec {
4440 pillow
4541 pytest-django
4642 pytestCheckHook
47- ] ++ lib . flatten ( builtins . attrValues optional-dependencies ) ;
43+ ] ++ lib . flatten ( lib . attrValues optional-dependencies ) ;
4844
4945 preCheck = ''
5046 export DJANGO_SETTINGS_MODULE=tests.app.settings
You can’t perform that action at this time.
0 commit comments