From 600d787b9b7bb7b82ff4515cfb01925e121ae6ca Mon Sep 17 00:00:00 2001 From: Drew Risinger Date: Tue, 15 Jun 2021 13:37:33 -0400 Subject: [PATCH] python3Packages.websocket-client: 0.58.0 -> 1.1.0 --- .../websocket-client/default.nix | 20 ++++++++----------- 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/pkgs/development/python-modules/websocket-client/default.nix b/pkgs/development/python-modules/websocket-client/default.nix index b6b2c7ee0361..ee09ceb10504 100644 --- a/pkgs/development/python-modules/websocket-client/default.nix +++ b/pkgs/development/python-modules/websocket-client/default.nix @@ -1,27 +1,22 @@ { lib -, backports_ssl_match_hostname , buildPythonPackage , fetchPypi -, isPy27 +, pythonOlder , pytestCheckHook -, six +, pysocks }: buildPythonPackage rec { pname = "websocket-client"; - version = "0.58.0"; + version = "1.1.0"; + disabled = pythonOlder "3.6"; src = fetchPypi { - pname = "websocket_client"; - inherit version; - sha256 = "sha256-Y1CbQdFYrlt/Z+tK0g/su07umUNOc+FANU3D/44JcW8="; + inherit pname version; + sha256 = "sha256-to5JWdcEdo+iDjXJ1QjI3Cu8BB/Y0mfA1zRc/+KCRWg="; }; - propagatedBuildInputs = [ - six - ] ++ lib.optional isPy27 backports_ssl_match_hostname; - - checkInputs = [ pytestCheckHook ]; + checkInputs = [ pytestCheckHook pysocks ]; pythonImportsCheck = [ "websocket" ]; @@ -30,5 +25,6 @@ buildPythonPackage rec { 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"; }; }