summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-socketio
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2018-12-01 10:51:45 +0000
committerJörg Thalheim <joerg@thalheim.io>2018-12-01 14:13:46 +0000
commit5b23da0595ac7cbec2864b1be26e92ec8e240149 (patch)
tree5c00f1c2a0cb33784973804df5e5cd13e94a557f /pkgs/development/python-modules/python-socketio
parent5e591a0087daaeb55076b2f9c1c00fe3db07c737 (diff)
python3.pkgs.python-socketio: init at 2.1.0
Diffstat (limited to 'pkgs/development/python-modules/python-socketio')
-rw-r--r--pkgs/development/python-modules/python-socketio/default.nix33
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/python-socketio/default.nix b/pkgs/development/python-modules/python-socketio/default.nix
new file mode 100644
index 000000000000..274adb9d4241
--- /dev/null
+++ b/pkgs/development/python-modules/python-socketio/default.nix
@@ -0,0 +1,33 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, six
+, python-engineio
+, mock
+}:
+
+buildPythonPackage rec {
+ pname = "python-socketio";
+ version = "2.1.0";
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "10457ahvi16iyshmynr0j9palfsbnpzya8p1nmlhzrcr11fsnkb7";
+ };
+
+ propagatedBuildInputs = [
+ six
+ python-engineio
+ ];
+
+ checkInputs = [ mock ];
+ # tests only on github, but latest github release not tagged
+ doCheck = false;
+
+ meta = with lib; {
+ description = "Socket.IO server";
+ homepage = http://github.com/miguelgrinberg/python-socketio/;
+ license = licenses.mit;
+ maintainers = [ maintainers.mic92 ];
+ };
+}