1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pytestCheckHook 5}: 6 7buildPythonPackage rec { 8 version = "3.2.2"; 9 pname = "django-cache-url"; 10 11 src = fetchFromGitHub { 12 owner = "epicserve"; 13 repo = "django-cache-url"; 14 rev = "v${version}"; 15 sha256 = "0fxma2w6zl3cfl6wnynmlmp8snks67ffz4jcq4qmdc65xv1l204l"; 16 }; 17 18 postPatch = '' 19 # disable coverage tests 20 sed -i '/--cov/d' setup.cfg 21 ''; 22 23 nativeCheckInputs = [ pytestCheckHook ]; 24 25 meta = with lib; { 26 homepage = "https://github.com/epicserve/django-cache-url"; 27 description = "Use Cache URLs in your Django application"; 28 license = licenses.mit; 29 maintainers = [ ]; 30 }; 31}