2021-01-25 09:26:54 +01:00
|
|
|
{
|
|
|
|
lib,
|
2018-10-25 15:21:21 -04:00
|
|
|
buildPythonPackage,
|
2025-01-15 11:25:37 +01:00
|
|
|
django,
|
2021-02-07 19:56:34 +01:00
|
|
|
fetchFromGitHub,
|
2025-01-15 11:25:37 +01:00
|
|
|
pytest-cov-stub,
|
2021-02-07 19:56:34 +01:00
|
|
|
pytestCheckHook,
|
2025-01-15 11:25:37 +01:00
|
|
|
pythonOlder,
|
|
|
|
setuptools,
|
2018-10-25 15:21:21 -04:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "django-cache-url";
|
2025-01-15 11:25:37 +01:00
|
|
|
version = "3.4.5";
|
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.8";
|
2018-10-25 15:21:21 -04:00
|
|
|
|
2021-02-07 19:56:34 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "epicserve";
|
|
|
|
repo = "django-cache-url";
|
2025-01-15 11:25:37 +01:00
|
|
|
tag = "v${version}";
|
|
|
|
hash = "sha256-SjTcBYaFMD8XwIlqOgoJrc30FLrpX+M2ZcvZzA9ou6g=";
|
2018-10-25 15:21:21 -04:00
|
|
|
};
|
|
|
|
|
2025-01-15 11:25:37 +01:00
|
|
|
build-system = [ setuptools ];
|
|
|
|
|
|
|
|
nativeCheckInputs = [
|
|
|
|
django
|
|
|
|
pytest-cov-stub
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
2018-10-25 15:21:21 -04:00
|
|
|
|
2025-01-15 11:25:37 +01:00
|
|
|
pythonImportsCheck = [ "django_cache_url" ];
|
2018-10-25 15:21:21 -04:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2018-10-25 15:21:21 -04:00
|
|
|
description = "Use Cache URLs in your Django application";
|
2025-01-15 11:25:37 +01:00
|
|
|
homepage = "https://github.com/epicserve/django-cache-url";
|
|
|
|
changelog = "https://github.com/epicserve/django-cache-url/blob/v${version}/CHANGELOG.rst";
|
2018-10-25 15:21:21 -04:00
|
|
|
license = licenses.mit;
|
2023-06-30 17:53:25 +02:00
|
|
|
maintainers = [ ];
|
2018-10-25 15:21:21 -04:00
|
|
|
};
|
|
|
|
}
|