Merge pull request #111395 from r-ryantm/auto-update/python3.7-django-cors-headers
python37Packages.django-cors-headers: 3.6.0 -> 3.7.0
This commit is contained in:
commit
548a155719
|
@ -1,22 +1,30 @@
|
||||||
{ lib,
|
{ lib
|
||||||
fetchPypi,
|
, fetchFromGitHub
|
||||||
django,
|
, buildPythonPackage
|
||||||
buildPythonPackage
|
, django
|
||||||
|
, pytest-django
|
||||||
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "django-cors-headers";
|
pname = "django-cors-headers";
|
||||||
version = "3.6.0";
|
version = "3.7.0";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchFromGitHub {
|
||||||
inherit pname version;
|
owner = "adamchainz";
|
||||||
sha256 = "5665fc1b1aabf1b678885cf6f8f8bd7da36ef0a978375e767d491b48d3055d8f";
|
repo = "django-cors-headers";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "1wc8cs1gpg9v98bq5qwnd4pcv043za50wd63gwkm86lbvjxyxynz";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ django ];
|
propagatedBuildInputs = [
|
||||||
|
django
|
||||||
|
];
|
||||||
|
|
||||||
# pypi release does not include tests
|
checkInputs = [
|
||||||
doCheck = false;
|
pytest-django
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Django app for handling server Cross-Origin Resource Sharing (CORS) headers";
|
description = "Django app for handling server Cross-Origin Resource Sharing (CORS) headers";
|
||||||
|
|
Loading…
Reference in New Issue