2019-01-21 10:48:50 +00:00
|
|
|
{ lib,
|
|
|
|
fetchPypi,
|
|
|
|
django,
|
|
|
|
buildPythonPackage
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "django-cors-headers";
|
2020-06-06 07:47:04 +01:00
|
|
|
version = "3.3.0";
|
2019-01-21 10:48:50 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-06 07:47:04 +01:00
|
|
|
sha256 = "73d654950b5f5e7e4f67c05183d2169d4f7518ceb87734eb0d68f9e43be59f1c";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|