1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, pytestCheckHook
5}:
6
7buildPythonPackage rec {
8 pname = "jsonrpc-base";
9 version = "2.0.0";
10
11 src = fetchFromGitHub {
12 owner = "emlove";
13 repo = pname;
14 rev = version;
15 sha256 = "0xxhn0vb7mr8k1w9xbqhhyx9qkgkc318qkyflgfbvjc926n50680";
16 };
17
18 checkInputs = [
19 pytestCheckHook
20 ];
21
22 pytestFlagsArray = [
23 "tests.py"
24 ];
25
26 meta = with lib; {
27 description = "A JSON-RPC client library base interface";
28 homepage = "https://github.com/emlove/jsonrpc-base";
29 license = licenses.bsd3;
30 maintainers = with maintainers; [ peterhoeg ];
31 };
32}