mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
27 lines
633 B
Nix
27 lines
633 B
Nix
{ stdenv, buildPythonPackage, fetchPypi, pytest, mock, git
|
|
, cherrypy, gevent, tornado }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ws4py";
|
|
version = "0.5.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "29d073d7f2e006373e6a848b1d00951a1107eb81f3742952be905429dc5a5483";
|
|
};
|
|
|
|
checkInputs = [ pytest mock git ];
|
|
propagatedBuildInputs = [ cherrypy gevent tornado ];
|
|
|
|
checkPhase = ''
|
|
pytest
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://ws4py.readthedocs.org;
|
|
description = "A WebSocket package for Python";
|
|
maintainers = with maintainers; [ rickynils ];
|
|
license = licenses.bsd3;
|
|
};
|
|
}
|