diff options
| author | Graham Christensen <graham@grahamc.com> | 2021-11-12 20:56:14 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-12 20:56:14 -0500 |
| commit | fd1f8e149813909b9566a8ee17bb8bed3666ecfa (patch) | |
| tree | 6eb4111496cd0b7b895ed99f361f24feff5d7cb1 /pkgs/development/python-modules/python-engineio | |
| parent | 5d26ff13e5ab12d0dd5730512db787755363145b (diff) | |
| parent | 36941818f25feb27700f25ce054322025209e264 (diff) | |
Merge branch 'master' into mjolnir-init
Diffstat (limited to 'pkgs/development/python-modules/python-engineio')
| -rw-r--r-- | pkgs/development/python-modules/python-engineio/default.nix | 33 |
1 files changed, 22 insertions, 11 deletions
diff --git a/pkgs/development/python-modules/python-engineio/default.nix b/pkgs/development/python-modules/python-engineio/default.nix index 1b35f64bd7c0..33f74d932465 100644 --- a/pkgs/development/python-modules/python-engineio/default.nix +++ b/pkgs/development/python-modules/python-engineio/default.nix @@ -1,28 +1,32 @@ -{ lib, stdenv -, buildPythonPackage -, fetchFromGitHub +{ lib +, stdenv , aiohttp +, buildPythonPackage , eventlet +, fetchFromGitHub , iana-etc , libredirect , mock +, pytestCheckHook +, pythonOlder , requests , six , tornado , websocket-client -, websockets -, pytestCheckHook }: buildPythonPackage rec { pname = "python-engineio"; - version = "4.2.0"; + version = "4.3.0"; + format = "setuptools"; + + disabled = pythonOlder "3.6"; src = fetchFromGitHub { owner = "miguelgrinberg"; repo = "python-engineio"; rev = "v${version}"; - sha256 = "sha256-QfX8Volz5nabGVhQLXfSD/QooxLsU6DvCq1WRkRZ6hU="; + sha256 = "sha256-ohNRtceh0bHBlnGSFUckG5KzoLY8Q1jvpFee7T78Vto="; }; checkInputs = [ @@ -32,7 +36,6 @@ buildPythonPackage rec { requests tornado websocket-client - websockets pytestCheckHook ]; @@ -43,11 +46,19 @@ buildPythonPackage rec { export NIX_REDIRECTS=/etc/protocols=${iana-etc}/etc/protocols:/etc/resolv.conf=$(realpath resolv.conf) \ LD_PRELOAD=${libredirect}/lib/libredirect.so ''; - postCheck = "unset NIX_REDIRECTS LD_PRELOAD"; + + postCheck = '' + unset NIX_REDIRECTS LD_PRELOAD + ''; # somehow effective log level does not change? - disabledTests = [ "test_logger" ]; - pythonImportsCheck = [ "engineio" ]; + disabledTests = [ + "test_logger" + ]; + + pythonImportsCheck = [ + "engineio" + ]; meta = with lib; { description = "Python based Engine.IO client and server"; |
