pythonPackages.json-rpc: init at 1.13.0
This commit is contained in:
parent
cb72a93d2e
commit
38d27230e1
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 New Issue
Block a user