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