depot/third_party/nixpkgs/pkgs/development/python-modules/ws4py/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

27 lines
627 B
Nix

{ lib, buildPythonPackage, fetchPypi, pytest, mock, git
, cherrypy, gevent, tornado }:
buildPythonPackage rec {
pname = "ws4py";
version = "0.5.1";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "29d073d7f2e006373e6a848b1d00951a1107eb81f3742952be905429dc5a5483";
};
nativeCheckInputs = [ pytest mock git ];
propagatedBuildInputs = [ cherrypy gevent tornado ];
checkPhase = ''
pytest
'';
meta = with lib; {
homepage = "https://ws4py.readthedocs.org";
description = "A WebSocket package for Python";
maintainers = [];
license = licenses.bsd3;
};
}