blob: f10f9bbb8b82942d56937c897ab1826f5e6e7f79 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "jsonrpc-base";
version = "2.2.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "emlove";
repo = "jsonrpc-base";
rev = "refs/tags/${version}";
hash = "sha256-AbpuAW+wuGc+Vj4FDFlyB2YbiwDxPLuyAGiNcmGU+Ss=";
};
nativeBuildInputs = [
setuptools
];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
];
pytestFlagsArray = [
"tests.py"
];
pythonImportsCheck = [
"jsonrpc_base"
];
meta = with lib; {
description = "A JSON-RPC client library base interface";
homepage = "https://github.com/emlove/jsonrpc-base";
license = licenses.bsd3;
maintainers = with maintainers; [ peterhoeg ];
};
}
|