nixpkgs/pkgs/development/python-modules/django-cache-url/default.nix
Fabian Affolter ed1c058774 python312Packages.django-cache-url: 3.2.2 -> 3.4.5
Diff: epicserve/django-cache-url@refs/tags/v3.2.2...v3.4.5
2025-01-15 11:25:37 +01:00

43 lines
905 B
Nix

{
lib,
buildPythonPackage,
django,
fetchFromGitHub,
pytest-cov-stub,
pytestCheckHook,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "django-cache-url";
version = "3.4.5";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "epicserve";
repo = "django-cache-url";
tag = "v${version}";
hash = "sha256-SjTcBYaFMD8XwIlqOgoJrc30FLrpX+M2ZcvZzA9ou6g=";
};
build-system = [ setuptools ];
nativeCheckInputs = [
django
pytest-cov-stub
pytestCheckHook
];
pythonImportsCheck = [ "django_cache_url" ];
meta = with lib; {
description = "Use Cache URLs in your Django application";
homepage = "https://github.com/epicserve/django-cache-url";
changelog = "https://github.com/epicserve/django-cache-url/blob/v${version}/CHANGELOG.rst";
license = licenses.mit;
maintainers = [ ];
};
}