diff options
author | ivegotasthma <ivegotasthma@protonmail.com> | 2019-01-21 11:48:50 +0100 |
---|---|---|
committer | ivegotasthma <ivegotasthma@protonmail.com> | 2019-01-21 13:49:54 +0100 |
commit | 6f9eb70c9c6473b267d80fb3d1f3009ac6e7d519 (patch) | |
tree | 4f693888a387f3b12b01ac65733bda9b1fa74f6f /pkgs/development/python-modules/django-cors-headers | |
parent | f7de6e5fb3a2fa1acbfe1a0a4a88934287afef1f (diff) |
pythonPackages.django-cors-headers: init at 2.4.0
Diffstat (limited to 'pkgs/development/python-modules/django-cors-headers')
-rw-r--r-- | pkgs/development/python-modules/django-cors-headers/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/django-cors-headers/default.nix b/pkgs/development/python-modules/django-cors-headers/default.nix new file mode 100644 index 0000000000000..21f5b841adb8d --- /dev/null +++ b/pkgs/development/python-modules/django-cors-headers/default.nix @@ -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 ]; + }; +} |