mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 00:54:11 +00:00
30 lines
627 B
Nix
30 lines
627 B
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, versiontools
|
|
, gevent-websocket
|
|
, mock
|
|
, pytest
|
|
, gevent
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "gevent-socketio";
|
|
version = "0.3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1zra86hg2l1jcpl9nsnqagy3nl3akws8bvrbpgdxk15x7ywllfak";
|
|
};
|
|
|
|
buildInputs = [ versiontools gevent-websocket mock pytest ];
|
|
propagatedBuildInputs = [ gevent ];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://github.com/abourget/gevent-socketio;
|
|
description = "SocketIO server based on the Gevent pywsgi server, a Python network library";
|
|
license = licenses.bsd0;
|
|
};
|
|
|
|
}
|