nixpkgs/pkgs/development/python-modules/ws4py/default.nix

27 lines
606 B
Nix
Raw Normal View History

{ stdenv, buildPythonPackage, fetchPypi, pytest, mock, git
2017-09-14 04:29:39 +00:00
, cherrypy, gevent, tornado }:
buildPythonPackage rec {
pname = "ws4py";
2018-04-04 18:19:08 +00:00
version = "0.5.1";
2017-09-14 04:29:39 +00:00
src = fetchPypi {
inherit pname version;
2018-04-04 18:19:08 +00:00
sha256 = "29d073d7f2e006373e6a848b1d00951a1107eb81f3742952be905429dc5a5483";
2017-09-14 04:29:39 +00:00
};
checkInputs = [ pytest mock git ];
propagatedBuildInputs = [ cherrypy gevent tornado ];
2017-09-14 04:29:39 +00:00
checkPhase = ''
pytest
2017-09-14 04:29:39 +00:00
'';
meta = with stdenv.lib; {
homepage = "https://ws4py.readthedocs.org";
2017-09-14 04:29:39 +00:00
description = "A WebSocket package for Python";
maintainers = [];
license = licenses.bsd3;
2017-09-14 04:29:39 +00:00
};
}