2021-02-05 17:12:51 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pytest, mock, git
|
2020-04-24 23:36:52 +00:00
|
|
|
, cherrypy, gevent, tornado }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ws4py";
|
|
|
|
version = "0.5.1";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "29d073d7f2e006373e6a848b1d00951a1107eb81f3742952be905429dc5a5483";
|
|
|
|
};
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [ pytest mock git ];
|
2020-04-24 23:36:52 +00:00
|
|
|
propagatedBuildInputs = [ cherrypy gevent tornado ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
pytest
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://ws4py.readthedocs.org";
|
|
|
|
description = "A WebSocket package for Python";
|
|
|
|
maintainers = [];
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|