python312Packages.dash-renderer: remove (#369714)
[NixPkgs.git] / pkgs / development / python-modules / jsonrpc-base / default.nix
blob239a3e9246ef978ba49f05b13c488439d2f63970
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pytest-asyncio,
6   pytestCheckHook,
7   pythonOlder,
8   setuptools,
9 }:
11 buildPythonPackage rec {
12   pname = "jsonrpc-base";
13   version = "2.2.0";
14   pyproject = true;
16   disabled = pythonOlder "3.7";
18   src = fetchFromGitHub {
19     owner = "emlove";
20     repo = "jsonrpc-base";
21     tag = version;
22     hash = "sha256-AbpuAW+wuGc+Vj4FDFlyB2YbiwDxPLuyAGiNcmGU+Ss=";
23   };
25   nativeBuildInputs = [ setuptools ];
27   nativeCheckInputs = [
28     pytest-asyncio
29     pytestCheckHook
30   ];
32   pytestFlagsArray = [ "tests.py" ];
34   pythonImportsCheck = [ "jsonrpc_base" ];
36   meta = with lib; {
37     description = "JSON-RPC client library base interface";
38     homepage = "https://github.com/emlove/jsonrpc-base";
39     license = licenses.bsd3;
40     maintainers = with maintainers; [ peterhoeg ];
41   };