File tree Expand file tree Collapse file tree 1 file changed +18
-20
lines changed
pkgs/development/python-modules/django-dynamic-preferences Expand file tree Collapse file tree 1 file changed +18
-20
lines changed Original file line number Diff line number Diff line change 11{
22 lib ,
33 buildPythonPackage ,
4- fetchFromGitHub ,
5- pythonOlder ,
6-
7- # dependencies
4+ distutils ,
85 django ,
9- persisting-theory ,
10- six ,
11-
12- # tests
136 djangorestframework ,
7+ fetchFromGitHub ,
8+ persisting-theory ,
149 pytest-django ,
1510 pytestCheckHook ,
11+ pythonOlder ,
12+ setuptools ,
1613} :
1714
1815buildPythonPackage rec {
1916 pname = "django-dynamic-preferences" ;
20- version = "1.15.0" ;
21- format = "setuptools" ;
17+ version = "1.17.0" ;
18+ pyproject = true ;
19+
20+ disabled = pythonOlder "3.9" ;
2221
2322 src = fetchFromGitHub {
2423 owner = "agateblue" ;
2524 repo = "django-dynamic-preferences" ;
2625 tag = version ;
27- hash = "sha256-S0PAlSrMOQ68mX548pZzARfau/lytXWC4S5uVO1rUmo =" ;
26+ hash = "sha256-irnwoWqQQxPueglI86ZIOt8wZcEHneY3eyATBXOuk9Y =" ;
2827 } ;
2928
29+ build-system = [
30+ setuptools
31+ distutils
32+ ] ;
33+
3034 buildInputs = [ django ] ;
3135
32- propagatedBuildInputs = [
33- six
34- persisting-theory
35- ] ;
36+ dependencies = [ persisting-theory ] ;
3637
3738 nativeCheckInputs = [
3839 djangorestframework
@@ -42,15 +43,12 @@ buildPythonPackage rec {
4243
4344 pythonImportsCheck = [ "dynamic_preferences" ] ;
4445
45- # Remove once https://github.com/agateblue/django-dynamic-preferences/issues/309 is fixed
46- doCheck = pythonOlder "3.12" ;
47-
4846 env . DJANGO_SETTINGS = "tests.settings" ;
4947
5048 meta = with lib ; {
51- changelog = "https://github.com/agateblue/django-dynamic-preferences/blob/${ version } /HISTORY.rst" ;
52- homepage = "https://github.com/EliotBerriot/django-dynamic-preferences" ;
5349 description = "Dynamic global and instance settings for your django project" ;
50+ changelog = "https://github.com/agateblue/django-dynamic-preferences/blob/${ version } /HISTORY.rst" ;
51+ homepage = "https://github.com/agateblue/django-dynamic-preferences" ;
5452 license = licenses . bsd3 ;
5553 maintainers = with maintainers ; [ mmai ] ;
5654 } ;
You can’t perform that action at this time.
0 commit comments