diff --git a/pkgs/development/python-modules/jsonrpc-base/default.nix b/pkgs/development/python-modules/jsonrpc-base/default.nix index 62fbf0130cba..bdcdda0f41eb 100644 --- a/pkgs/development/python-modules/jsonrpc-base/default.nix +++ b/pkgs/development/python-modules/jsonrpc-base/default.nix @@ -3,17 +3,21 @@ , fetchFromGitHub , pytest-asyncio , pytestCheckHook +, pythonOlder }: buildPythonPackage rec { pname = "jsonrpc-base"; version = "2.1.0"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "emlove"; repo = pname; rev = version; - sha256 = "1cd83m831ngck2v8m08pb2g29z4vr9iggi73l7h506v6clkb4n3y"; + hash = "sha256-fliyJmVmG1DgoePE92LKm/wknlgXgYq2mOzZMFAdqLE="; }; checkInputs = [ @@ -25,6 +29,10 @@ buildPythonPackage rec { "tests.py" ]; + pythonImportsCheck = [ + "jsonrpc_base" + ]; + meta = with lib; { description = "A JSON-RPC client library base interface"; homepage = "https://github.com/emlove/jsonrpc-base";