From 907cfcb0c3de1529ae6cdf77ff925c70cc041e2f Mon Sep 17 00:00:00 2001 From: Lancelot SIX Date: Thu, 15 Sep 2016 15:07:15 +0200 Subject: [PATCH 1/7] pythonPackages.autobahn: add txaio to propagatedBuildInputs --- pkgs/top-level/python-packages.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 26e2867de81a..cb85e8fc4170 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -29868,8 +29868,8 @@ in modules // { url = "mirror://pypi/a/${pname}/${name}.tar.gz"; sha256 = "1158ml8h3g0vlsgw2jmy579glbg7dn0mjij8xibdl509b8qv9p51"; }; - buildInputs = with self; [ unittest2 mock pytest txaio trollius ]; - propagatedBuildInputs = with self; [ six twisted ]; + buildInputs = with self; [ unittest2 mock pytest trollius ]; + propagatedBuildInputs = with self; [ six twisted txaio ]; checkPhase = '' py.test $out ''; From a1e887af526c5af49b84fe32c31fe93b8e0f17b6 Mon Sep 17 00:00:00 2001 From: Lancelot SIX Date: Thu, 15 Sep 2016 15:08:29 +0200 Subject: [PATCH 2/7] pythonPackages.posix_ipc: init at 1.0.0 --- pkgs/top-level/python-packages.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index cb85e8fc4170..344124dbd543 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -17910,6 +17910,21 @@ in modules // { }; }; + posix_ipc = buildPythonPackage rec { + name = "posix_ipc-${version}"; + version = "1.0.0"; + + src = pkgs.fetchurl { + url = "mirror://pypi/p/posix_ipc/${name}.tar.gz"; + sha256 = "1jzg66708pi5n9w07fbz6rlxx30cjds9hp2yawjjfryafh1hg4ww"; + }; + + meta = { + description = "POSIX IPC primitives (semaphores, shared memory and message queues)"; + license = licenses.bsd3; + homepage = http://semanchuk.com/philip/posix_ipc/; + }; + }; powerline = buildPythonPackage rec { rev = "2.1.4"; From 9283121bbbceca8f8f6c6bb750ab3019c50b3e8c Mon Sep 17 00:00:00 2001 From: Lancelot SIX Date: Thu, 15 Sep 2016 15:09:24 +0200 Subject: [PATCH 3/7] pythonPackages.asgiref: init at 0.14.0 --- pkgs/top-level/python-packages.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 344124dbd543..df3603eff783 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -588,6 +588,24 @@ in modules // { }; }; + asgiref = buildPythonPackage rec { + name = "asgiref-${version}"; + version = "0.14.0"; + + src = pkgs.fetchurl { + url = "mirror://pypi/a/asgiref/${name}.tar.gz"; + sha256 = "1ww4z14pd7g2mwz5nyvxm4rif0rsm9h8i0lwk78v58b2j45r43lc"; + }; + + propagatedBuildInputs = with self ; [ six ]; + + meta = { + description = "Reference ASGI adapters and channel layers"; + license = licenses.bsd3; + homepage = https://github.com/django/asgiref; + }; + }; + python-editor = buildPythonPackage rec { name = "python-editor-${version}"; version = "0.4"; From 32ca234f3f90713c0fae35a88e160f75cabfcc52 Mon Sep 17 00:00:00 2001 From: Lancelot SIX Date: Thu, 15 Sep 2016 15:10:11 +0200 Subject: [PATCH 4/7] pythonPackages.asgi_ipc: init at 1.1.0 --- pkgs/top-level/python-packages.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index df3603eff783..197828452c48 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -606,6 +606,24 @@ in modules // { }; }; + asgi_ipc = buildPythonPackage rec { + name = "asgi_ipc-${version}"; + version = "1.1.0"; + + src = pkgs.fetchurl { + url = "mirror://pypi/a/asgi_ipc/${name}.tar.gz"; + sha256 = "16q5x2cvx3rpnikmqv8l4clkfib8baqy7diy18rsmzj6hqqli3xy"; + }; + + propagatedBuildInputs = with self ; [ asgiref msgpack posix_ipc ]; + + meta = { + description = "Posix IPC-backed ASGI channel layer implementation"; + license = licenses.bsd3; + homepage = http://github.com/django/asgi_ipc/; + }; + }; + python-editor = buildPythonPackage rec { name = "python-editor-${version}"; version = "0.4"; From 62a0c53ee01d26b35c5c1fbbd978ed1824c6b556 Mon Sep 17 00:00:00 2001 From: Lancelot SIX Date: Thu, 15 Sep 2016 15:10:56 +0200 Subject: [PATCH 5/7] pythonPackages.asgi_redis: init at 0.14.1 --- pkgs/top-level/python-packages.nix | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 197828452c48..6a81aa212659 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -624,6 +624,27 @@ in modules // { }; }; + asgi_redis = buildPythonPackage rec { + name = "asgi_redis-${version}"; + version = "0.14.1"; + + src = pkgs.fetchurl { + url = "mirror://pypi/a/asgi_redis/${name}.tar.gz"; + sha256 = "13ixh1nwgla7wm2xa42inwrd3g5lri89gd31xl62zhs8m6jmg122"; + }; + + # Requires a redis server available + doCheck = false; + + propagatedBuildInputs = with self ; [ asgiref asgi_ipc msgpack six redis cryptography ]; + + meta = { + description = "Redis-backed ASGI channel layer implementation"; + license = licenses.bsd3; + homepage = http://github.com/django/asgi_redis/; + }; + }; + python-editor = buildPythonPackage rec { name = "python-editor-${version}"; version = "0.4"; From 648f5348888e214d61f7c6f2067f9aa99aebf412 Mon Sep 17 00:00:00 2001 From: Lancelot SIX Date: Thu, 15 Sep 2016 15:12:46 +0200 Subject: [PATCH 6/7] pythonPackages.daphne: init at 0.15.0 --- pkgs/top-level/python-packages.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 6a81aa212659..804b3b17765c 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -5414,6 +5414,24 @@ in modules // { }; }); + daphne = buildPythonPackage rec { + name = "daphne-${version}"; + version = "0.15.0"; + + src = pkgs.fetchurl { + url = "mirror://pypi/d/daphne/${name}.tar.gz"; + sha256 = "095xdh10v8sqwyas02q72ij3ivd5qjg5ki5cvha0fpzd361izdnp"; + }; + + propagatedBuildInputs = with self; [ asgiref autobahn ]; + + meta = { + description = "Django ASGI (HTTP/WebSocket) server"; + license = licenses.bsd3; + homepage = https://github.com/django/daphne; + }; + }; + dateparser = buildPythonPackage rec { name = "dateparser-${version}"; version = "0.3.2-pre-2016-01-21"; # Fix assert year 2016 == 2015 From 6941d49c379b6a328cc6640a73a97ac02db2d999 Mon Sep 17 00:00:00 2001 From: Lancelot SIX Date: Thu, 15 Sep 2016 15:13:53 +0200 Subject: [PATCH 7/7] pythonPackages.channels: init at 0.17.2 --- pkgs/top-level/python-packages.nix | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 804b3b17765c..9c36d1f9b60f 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2140,6 +2140,27 @@ in modules // { }; }; + channels = buildPythonPackage rec { + name = "channels-${version}"; + version = "0.17.2"; + + src = pkgs.fetchurl { + url = "mirror://pypi/c/channels/${name}.tar.gz"; + sha256 = "1a7fzm25sm3qqgxf7j3hml2lkipvf0yapdg4rkk7x3m11zm0xgv9"; + }; + + # Files are missing in the distribution + doCheck = false; + + propagatedBuildInputs = with self ; [ asgiref django daphne ]; + + meta = { + description = "Brings event-driven capabilities to Django with a channel system"; + license = licenses.bsd3; + homepage = https://github.com/django/channels; + }; + }; + circus = buildPythonPackage rec { name = "circus-0.11.1";