blob: b93de0b924f7b6dd29daf12189f336070e8f97e1 (
plain) (
blame)
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
32
|
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, h11
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "wsproto";
version = "1.2.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-rVZfJuy5JYij5DvD2WFk3oTNmQJIKxMNDduqlmSoUGU=";
};
propagatedBuildInputs = [ h11 ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "wsproto" ];
meta = with lib; {
description = "Pure Python, pure state-machine WebSocket implementation";
homepage = "https://github.com/python-hyper/wsproto/";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}
|