pythonPackages.json-rpc: init at 1.13.0

This commit is contained in:
Alvar Penning 2021-02-22 17:10:40 +01:00
parent cb72a93d2e
commit 38d27230e1
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,24 @@
{ lib, isPy27, buildPythonPackage, fetchPypi, pytestCheckHook, mock }:
let
pythonEnv = lib.optional isPy27 mock;
in buildPythonPackage rec {
pname = "json-rpc";
version = "1.13.0";
src = fetchPypi {
inherit pname version;
sha256 = "12bmblnznk174hqg2irggx4hd3cq1nczbwkpsqqzr13hbg7xpw6y";
};
checkInputs = pythonEnv ++ [ pytestCheckHook ];
nativeBuildInputs = pythonEnv;
meta = with lib; {
description = "JSON-RPC 1/2 transport implementation";
homepage = "https://github.com/pavlov99/json-rpc";
license = licenses.mit;
maintainers = with maintainers; [ oxzi ];
};
}

View File

@ -3399,6 +3399,8 @@ in {
jsonref = callPackage ../development/python-modules/jsonref { };
json-rpc = callPackage ../development/python-modules/json-rpc { };
jsonrpc-async = callPackage ../development/python-modules/jsonrpc-async { };
jsonrpc-base = callPackage ../development/python-modules/jsonrpc-base { };