2019-01-21 10:48:50 +00:00
|
|
|
{ lib,
|
|
|
|
fetchPypi,
|
|
|
|
django,
|
|
|
|
buildPythonPackage
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "django-cors-headers";
|
2019-12-19 19:31:09 +00:00
|
|
|
version = "3.2.0";
|
2019-01-21 10:48:50 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-12-19 19:31:09 +00:00
|
|
|
sha256 = "84933651fbbde8f2bc084bef2f077b79db1ec1389432f21dd661eaae6b3d6a95";
|
2019-01-21 10:48:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ django ];
|
|
|
|
|
|
|
|
# pypi release does not include tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
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 = [ maintainers.ivegotasthma ];
|
|
|
|
};
|
|
|
|
}
|