Merge pull request #111715 from r-ryantm/auto-update/python3.7-django-cache-url

python37Packages.django-cache-url: 3.1.2 -> 3.2.2

authored by

Martin Weinelt and committed by
GitHub
279e66e1 cd4c376b

+13 -13
+13 -13
pkgs/development/python-modules/django-cache-url/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 - , fetchPypi 4 - , pytest 3 + , fetchFromGitHub 4 + , pytestCheckHook 5 5 }: 6 6 7 7 buildPythonPackage rec { 8 - version = "3.1.2"; 8 + version = "3.2.2"; 9 9 pname = "django-cache-url"; 10 10 11 - src = fetchPypi { 12 - inherit pname version; 13 - sha256 = "d0ee0d6c5daab92787bff47a4a6f5a6cf97c3c80d81a990820b2af16e12ad65a"; 11 + src = fetchFromGitHub { 12 + owner = "epicserve"; 13 + repo = "django-cache-url"; 14 + rev = "v${version}"; 15 + sha256 = "0fxma2w6zl3cfl6wnynmlmp8snks67ffz4jcq4qmdc65xv1l204l"; 14 16 }; 15 17 16 - checkInputs = [ pytest ]; 17 - 18 - checkPhase = '' 19 - pytest tests 18 + postPatch = '' 19 + # disable coverage tests 20 + sed -i '/--cov/d' setup.cfg 20 21 ''; 21 22 22 - # tests not included with pypi release 23 - doCheck = false; 23 + checkInputs = [ pytestCheckHook ]; 24 24 25 25 meta = with lib; { 26 - homepage = "https://github.com/ghickman/django-cache-url"; 26 + homepage = "https://github.com/epicserve/django-cache-url"; 27 27 description = "Use Cache URLs in your Django application"; 28 28 license = licenses.mit; 29 29 maintainers = [ maintainers.costrouc ];