about summary refs log tree commit diff
path: root/pkgs/development/python-modules/daphne
diff options
context:
space:
mode:
authorLancelot SIX <lsix@lancelotsix.com>2017-02-20 16:31:36 +0100
committerLancelot SIX <lsix@lancelotsix.com>2017-02-23 11:00:19 +0100
commit4d5093f5e1bccd8d8762e7e88ba1749ec6aaee95 (patch)
tree8d78a4f9697199776878b0c0c8273db52fc00cf4 /pkgs/development/python-modules/daphne
parent8103499e9d3444de8ebc9d9e0974cfc8b6344fce (diff)
downloadnixlib-4d5093f5e1bccd8d8762e7e88ba1749ec6aaee95.tar
nixlib-4d5093f5e1bccd8d8762e7e88ba1749ec6aaee95.tar.gz
nixlib-4d5093f5e1bccd8d8762e7e88ba1749ec6aaee95.tar.bz2
nixlib-4d5093f5e1bccd8d8762e7e88ba1749ec6aaee95.tar.lz
nixlib-4d5093f5e1bccd8d8762e7e88ba1749ec6aaee95.tar.xz
nixlib-4d5093f5e1bccd8d8762e7e88ba1749ec6aaee95.tar.zst
nixlib-4d5093f5e1bccd8d8762e7e88ba1749ec6aaee95.zip
pythonPackages.daphne: 1.0.1 -> 1.0.3
Diffstat (limited to 'pkgs/development/python-modules/daphne')
-rw-r--r--pkgs/development/python-modules/daphne/default.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/daphne/default.nix b/pkgs/development/python-modules/daphne/default.nix
new file mode 100644
index 000000000000..6e19d9d9e864
--- /dev/null
+++ b/pkgs/development/python-modules/daphne/default.nix
@@ -0,0 +1,20 @@
+{ stdenv, buildPythonPackage, fetchurl,
+  asgiref, autobahn, twisted
+}:
+buildPythonPackage rec {
+  name = "daphne-${version}";
+  version = "1.0.3";
+
+  src = fetchurl {
+    url = "mirror://pypi/d/daphne/${name}.tar.gz";
+    sha256 = "1bpavq3sxr66mqwnnfg67pcchyaq7siqyin2r89aqadf6nab58d2";
+  };
+
+  propagatedBuildInputs = [ asgiref autobahn twisted ];
+
+  meta = with stdenv.lib; {
+    description = "Django ASGI (HTTP/WebSocket) server";
+    license = licenses.bsd3;
+    homepage = https://github.com/django/daphne;
+  };
+}