python312Packages.django-dynamic-preferences: 1.15.0 -> 1.17.0 (#374752)

authored by Fabian Affolter and committed by GitHub d1d706fd a570861f

+18 -20
+18 -20
pkgs/development/python-modules/django-dynamic-preferences/default.nix
··· 1 1 { 2 2 lib, 3 3 buildPythonPackage, 4 - fetchFromGitHub, 5 - pythonOlder, 6 - 7 - # dependencies 4 + distutils, 8 5 django, 6 + djangorestframework, 7 + fetchFromGitHub, 9 8 persisting-theory, 10 - six, 11 - 12 - # tests 13 - djangorestframework, 14 9 pytest-django, 15 10 pytestCheckHook, 11 + pythonOlder, 12 + setuptools, 16 13 }: 17 14 18 15 buildPythonPackage rec { 19 16 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"; 22 21 23 22 src = fetchFromGitHub { 24 23 owner = "agateblue"; 25 24 repo = "django-dynamic-preferences"; 26 25 tag = version; 27 - hash = "sha256-S0PAlSrMOQ68mX548pZzARfau/lytXWC4S5uVO1rUmo="; 26 + hash = "sha256-irnwoWqQQxPueglI86ZIOt8wZcEHneY3eyATBXOuk9Y="; 28 27 }; 29 28 29 + build-system = [ 30 + setuptools 31 + distutils 32 + ]; 33 + 30 34 buildInputs = [ django ]; 31 35 32 - propagatedBuildInputs = [ 33 - six 34 - persisting-theory 35 - ]; 36 + dependencies = [ persisting-theory ]; 36 37 37 38 nativeCheckInputs = [ 38 39 djangorestframework ··· 41 42 ]; 42 43 43 44 pythonImportsCheck = [ "dynamic_preferences" ]; 44 - 45 - # Remove once https://github.com/agateblue/django-dynamic-preferences/issues/309 is fixed 46 - doCheck = pythonOlder "3.12"; 47 45 48 46 env.DJANGO_SETTINGS = "tests.settings"; 49 47 50 48 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"; 53 49 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"; 54 52 license = licenses.bsd3; 55 53 maintainers = with maintainers; [ mmai ]; 56 54 };