2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pytest, mock, git
|
2017-09-14 05:29:39 +01:00
|
|
|
, cherrypy, gevent, tornado }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ws4py";
|
2018-04-04 19:19:08 +01:00
|
|
|
version = "0.5.1";
|
2017-09-14 05:29:39 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-04-04 19:19:08 +01:00
|
|
|
sha256 = "29d073d7f2e006373e6a848b1d00951a1107eb81f3742952be905429dc5a5483";
|
2017-09-14 05:29:39 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ pytest mock git ];
|
2019-03-19 08:35:53 +00:00
|
|
|
propagatedBuildInputs = [ cherrypy gevent tornado ];
|
2017-09-14 05:29:39 +01:00
|
|
|
|
|
|
|
checkPhase = ''
|
2019-03-19 08:35:53 +00:00
|
|
|
pytest
|
2017-09-14 05:29:39 +01:00
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://ws4py.readthedocs.org";
|
2017-09-14 05:29:39 +01:00
|
|
|
description = "A WebSocket package for Python";
|
2019-08-20 14:24:01 +01:00
|
|
|
maintainers = [];
|
2019-03-19 08:35:53 +00:00
|
|
|
license = licenses.bsd3;
|
2017-09-14 05:29:39 +01:00
|
|
|
};
|
|
|
|
}
|