diff --git a/pkgs/development/python-modules/websocket_client/default.nix b/pkgs/development/python-modules/websocket_client/default.nix index dacae3e81e1f..6ad0634631de 100644 --- a/pkgs/development/python-modules/websocket_client/default.nix +++ b/pkgs/development/python-modules/websocket_client/default.nix @@ -1,25 +1,33 @@ -{ lib, buildPythonPackage, fetchPypi, isPy27 -, six +{ lib , backports_ssl_match_hostname +, buildPythonPackage +, fetchPypi +, isPy27 +, pytestCheckHook +, six }: buildPythonPackage rec { - version = "0.57.0"; pname = "websocket_client"; + version = "0.58.0"; src = fetchPypi { inherit pname version; - sha256 = "d735b91d6d1692a6a181f2a8c9e0238e5f6373356f561bb9dc4c7af36f452010"; + sha256 = "sha256-Y1CbQdFYrlt/Z+tK0g/su07umUNOc+FANU3D/44JcW8="; }; propagatedBuildInputs = [ six ] ++ lib.optional isPy27 backports_ssl_match_hostname; + checkInputs = [ pytestCheckHook ]; + + pythonImportsCheck = [ "websocket" ]; + meta = with lib; { - description = "Websocket client for python"; + description = "Websocket client for Python"; homepage = "https://github.com/websocket-client/websocket-client"; - license = licenses.bsd3; - maintainers = with maintainers; [ ]; + license = licenses.lgpl21Plus; + maintainers = with maintainers; [ fab ]; }; }