2019-01-21 10:48:50 +00:00
|
|
|
{ lib,
|
|
|
|
fetchPypi,
|
|
|
|
django,
|
|
|
|
buildPythonPackage
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "django-cors-headers";
|
2020-12-16 19:00:35 +00:00
|
|
|
version = "3.6.0";
|
2019-01-21 10:48:50 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-12-16 19:00:35 +00:00
|
|
|
sha256 = "5665fc1b1aabf1b678885cf6f8f8bd7da36ef0a978375e767d491b48d3055d8f";
|
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";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/OttoYiu/django-cors-headers";
|
2019-01-21 10:48:50 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.ivegotasthma ];
|
|
|
|
};
|
|
|
|
}
|