Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / websocket-client / default.nix
blob26c27825f7bd9448437a9a7a57f8df312d5e8fcb
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pythonOlder
5 , pytestCheckHook
6 , python-socks
7 }:
9 buildPythonPackage rec {
10   pname = "websocket-client";
11   version = "1.6.3";
12   format = "setuptools";
14   disabled = pythonOlder "3.7";
16   src = fetchPypi {
17     inherit pname version;
18     hash = "sha256-Oq0l0xKEJmvPz9H9inQ/YygjBaNkuNCUikO9YGrMZS8=";
19   };
21   propagatedBuildInputs = [
22     python-socks
23    ];
25   nativeCheckInputs = [
26     pytestCheckHook
27   ];
29   pythonImportsCheck = [
30     "websocket"
31   ];
33   meta = with lib; {
34     description = "Websocket client for Python";
35     homepage = "https://github.com/websocket-client/websocket-client";
36     changelog = "https://github.com/websocket-client/websocket-client/blob/v${version}/ChangeLog";
37     license = licenses.lgpl21Plus;
38     maintainers = with maintainers; [ fab ];
39   };