Merge pull request #114012 from oxzi/python-json-rpc
pythonPackages.json-rpc: init at 1.13.0
This commit is contained in:
commit
5c1ffb7a9f
2 changed files with 26 additions and 0 deletions
24
pkgs/development/python-modules/json-rpc/default.nix
Normal file
24
pkgs/development/python-modules/json-rpc/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue