pythonPackages.django-cors-headers: init at 2.4.0

This commit is contained in:
ivegotasthma 2019-01-21 11:48:50 +01:00
parent f7de6e5fb3
commit 6f9eb70c9c
No known key found for this signature in database
GPG Key ID: 09AC52AEA87817A4
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,27 @@
{ lib,
fetchPypi,
django,
buildPythonPackage
}:
buildPythonPackage rec {
pname = "django-cors-headers";
version = "2.4.0";
src = fetchPypi {
inherit pname version;
sha256 = "1qfa9awsj3f0nwygb0vdh4ilcsfi6zinzng73cd5864x2fbyxhn4";
};
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 ];
};
}

View File

@ -2230,6 +2230,8 @@ in {
django_contrib_comments = callPackage ../development/python-modules/django_contrib_comments { };
django-cors-headers = callPackage ../development/python-modules/django-cors-headers { };
django-discover-runner = callPackage ../development/python-modules/django-discover-runner { };
django_environ = callPackage ../development/python-modules/django_environ { };