about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/websocket-client/default.nix
blob: ee09ceb105046951468dd8362d090821f6bd6c8a (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
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, pytestCheckHook
, pysocks
}:

buildPythonPackage rec {
  pname = "websocket-client";
  version = "1.1.0";
  disabled = pythonOlder "3.6";

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-to5JWdcEdo+iDjXJ1QjI3Cu8BB/Y0mfA1zRc/+KCRWg=";
  };

  checkInputs = [ pytestCheckHook pysocks ];

  pythonImportsCheck = [ "websocket" ];

  meta = with lib; {
    description = "Websocket client for Python";
    homepage = "https://github.com/websocket-client/websocket-client";
    license = licenses.lgpl21Plus;
    maintainers = with maintainers; [ fab ];
    changelog = "https://github.com/websocket-client/websocket-client/blob/v${version}/ChangeLog";
  };
}