blob: 4e4d6988067f4eff7650c2dd61848397cd152ff2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
{
lib,
buildPythonPackage,
fetchPypi,
h11,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "wsproto";
version = "1.2.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-rVZfJuy5JYij5DvD2WFk3oTNmQJIKxMNDduqlmSoUGU=";
};
propagatedBuildInputs = [ h11 ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "wsproto" ];
meta = {
description = "Pure Python, pure state-machine WebSocket implementation";
homepage = "https://github.com/python-hyper/wsproto/";
license = lib.licenses.mit;
maintainers = [ ];
};
}
|