My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/django-cors-headers/default.nix

35 lines
718 B

{ lib
, fetchFromGitHub
, buildPythonPackage
, django
, pytest-django
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "django-cors-headers";
version = "3.7.0";
src = fetchFromGitHub {
owner = "adamchainz";
repo = "django-cors-headers";
rev = version;
sha256 = "1wc8cs1gpg9v98bq5qwnd4pcv043za50wd63gwkm86lbvjxyxynz";
};
propagatedBuildInputs = [
django
];
checkInputs = [
pytest-django
pytestCheckHook
];
meta = with lib; {
description = "Django app for handling server Cross-Origin Resource Sharing (CORS) headers";
homepage = "https://github.com/OttoYiu/django-cors-headers";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}