1{ lib 2, fetchFromGitHub 3, buildPythonPackage 4, django 5, pytest-django 6, pytestCheckHook 7}: 8 9buildPythonPackage rec { 10 pname = "django-cors-headers"; 11 version = "3.13.0"; 12 13 src = fetchFromGitHub { 14 owner = "adamchainz"; 15 repo = "django-cors-headers"; 16 rev = version; 17 sha256 = "sha256-pIyf4poW8/slxj4PVvmXpuYp//v5w00yU0Vz6Jiy2yM="; 18 }; 19 20 propagatedBuildInputs = [ 21 django 22 ]; 23 24 checkInputs = [ 25 pytest-django 26 pytestCheckHook 27 ]; 28 29 meta = with lib; { 30 description = "Django app for handling server Cross-Origin Resource Sharing (CORS) headers"; 31 homepage = "https://github.com/OttoYiu/django-cors-headers"; 32 license = licenses.mit; 33 maintainers = with maintainers; [ ]; 34 }; 35}