about summary refs log tree commit diff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authorivegotasthma <ivegotasthma@protonmail.com>2019-01-21 11:48:50 +0100
committerivegotasthma <ivegotasthma@protonmail.com>2019-01-21 13:49:54 +0100
commit6f9eb70c9c6473b267d80fb3d1f3009ac6e7d519 (patch)
tree4f693888a387f3b12b01ac65733bda9b1fa74f6f /pkgs/development/python-modules
parentf7de6e5fb3a2fa1acbfe1a0a4a88934287afef1f (diff)
downloadnixlib-6f9eb70c9c6473b267d80fb3d1f3009ac6e7d519.tar
nixlib-6f9eb70c9c6473b267d80fb3d1f3009ac6e7d519.tar.gz
nixlib-6f9eb70c9c6473b267d80fb3d1f3009ac6e7d519.tar.bz2
nixlib-6f9eb70c9c6473b267d80fb3d1f3009ac6e7d519.tar.lz
nixlib-6f9eb70c9c6473b267d80fb3d1f3009ac6e7d519.tar.xz
nixlib-6f9eb70c9c6473b267d80fb3d1f3009ac6e7d519.tar.zst
nixlib-6f9eb70c9c6473b267d80fb3d1f3009ac6e7d519.zip
pythonPackages.django-cors-headers: init at 2.4.0
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/django-cors-headers/default.nix27
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 000000000000..21f5b841adb8
--- /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 ];
+  };
+}