2021-04-10 00:24:28 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pytestCheckHook
|
|
|
|
}:
|
2018-02-26 11:37:54 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jsonrpc-base";
|
2021-04-10 00:24:28 +01:00
|
|
|
version = "2.0.0";
|
2018-02-26 11:37:54 +00:00
|
|
|
|
2021-04-10 00:24:28 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "emlove";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0xxhn0vb7mr8k1w9xbqhhyx9qkgkc318qkyflgfbvjc926n50680";
|
2018-02-26 11:37:54 +00:00
|
|
|
};
|
|
|
|
|
2021-04-10 00:24:28 +01:00
|
|
|
checkInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
pytestFlagsArray = [
|
|
|
|
"tests.py"
|
|
|
|
];
|
2018-02-26 11:37:54 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-02-26 11:37:54 +00:00
|
|
|
description = "A JSON-RPC client library base interface";
|
2021-04-10 00:24:28 +01:00
|
|
|
homepage = "https://github.com/emlove/jsonrpc-base";
|
2018-02-26 11:37:54 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ peterhoeg ];
|
|
|
|
};
|
|
|
|
}
|