python3Packages.django-cors-headers: 3.13.0 -> 4.4.0

Changelog: https://github.com/adamchainz/django-cors-headers/blob/main/CHANGELOG.rst
This commit is contained in:
Kerstin Humm 2024-07-04 19:39:34 +02:00
parent bb0c931130
commit d2925a6136
No known key found for this signature in database
GPG Key ID: 40293358C7B9326B

View File

@ -2,6 +2,7 @@
lib,
fetchFromGitHub,
buildPythonPackage,
setuptools,
django,
pytest-django,
pytestCheckHook,
@ -9,23 +10,27 @@
buildPythonPackage rec {
pname = "django-cors-headers";
version = "3.13.0";
format = "setuptools";
version = "4.4.0";
pyproject = true;
src = fetchFromGitHub {
owner = "adamchainz";
repo = "django-cors-headers";
repo = pname;
rev = version;
hash = "sha256-pIyf4poW8/slxj4PVvmXpuYp//v5w00yU0Vz6Jiy2yM=";
hash = "sha256-/uTQ09zIjRV1Ilb/mXyr4zn5tJI/mNFHpfql2ptuER4=";
};
propagatedBuildInputs = [ django ];
build-system = [ setuptools ];
dependencies = [ django ];
nativeCheckInputs = [
pytest-django
pytestCheckHook
];
pythonImportsCheck = [ "corsheaders" ];
meta = with lib; {
description = "Django app for handling server Cross-Origin Resource Sharing (CORS) headers";
homepage = "https://github.com/OttoYiu/django-cors-headers";