blob: 701583ad521dc1abbb088aaffbf36d7a98d9074e (
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
33
34
35
36
37
38
39
|
{
lib,
buildPythonPackage,
fetchPypi,
pytestCheckHook,
python-socks,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "websocket-client";
version = "1.7.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-EOUR6jqMdEYx07135h6xftCTBMQTrULPbd+kx3h+j+Y=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ python-socks ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "websocket" ];
meta = with lib; {
description = "Websocket client for Python";
mainProgram = "wsdump";
homepage = "https://github.com/websocket-client/websocket-client";
changelog = "https://github.com/websocket-client/websocket-client/blob/v${version}/ChangeLog";
license = licenses.lgpl21Plus;
maintainers = with maintainers; [ fab ];
};
}
|