python312Packages.django-cache-url: 3.2.2 -> 3.4.5 (#373990)

authored by Fabian Affolter and committed by GitHub f15e739b e4c85e20

+20 -10
+20 -10
pkgs/development/python-modules/django-cache-url/default.nix
··· 1 1 { 2 2 lib, 3 3 buildPythonPackage, 4 + django, 4 5 fetchFromGitHub, 6 + pytest-cov-stub, 5 7 pytestCheckHook, 8 + pythonOlder, 9 + setuptools, 6 10 }: 7 11 8 12 buildPythonPackage rec { 9 - version = "3.2.2"; 10 - format = "setuptools"; 11 13 pname = "django-cache-url"; 14 + version = "3.4.5"; 15 + pyproject = true; 16 + 17 + disabled = pythonOlder "3.8"; 12 18 13 19 src = fetchFromGitHub { 14 20 owner = "epicserve"; 15 21 repo = "django-cache-url"; 16 - rev = "v${version}"; 17 - sha256 = "0fxma2w6zl3cfl6wnynmlmp8snks67ffz4jcq4qmdc65xv1l204l"; 22 + tag = "v${version}"; 23 + hash = "sha256-SjTcBYaFMD8XwIlqOgoJrc30FLrpX+M2ZcvZzA9ou6g="; 18 24 }; 19 25 20 - postPatch = '' 21 - # disable coverage tests 22 - sed -i '/--cov/d' setup.cfg 23 - ''; 26 + build-system = [ setuptools ]; 27 + 28 + nativeCheckInputs = [ 29 + django 30 + pytest-cov-stub 31 + pytestCheckHook 32 + ]; 24 33 25 - nativeCheckInputs = [ pytestCheckHook ]; 34 + pythonImportsCheck = [ "django_cache_url" ]; 26 35 27 36 meta = with lib; { 37 + description = "Use Cache URLs in your Django application"; 28 38 homepage = "https://github.com/epicserve/django-cache-url"; 29 - description = "Use Cache URLs in your Django application"; 39 + changelog = "https://github.com/epicserve/django-cache-url/blob/v${version}/CHANGELOG.rst"; 30 40 license = licenses.mit; 31 41 maintainers = [ ]; 32 42 };