2021-03-18 09:16:59 +00:00
|
|
|
{ lib, pythonOlder, buildPythonPackage, fetchPypi, pytestCheckHook }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ajsonrpc";
|
2021-08-26 20:32:29 +01:00
|
|
|
version = "1.2.0";
|
2021-03-18 09:16:59 +00:00
|
|
|
|
|
|
|
disabled = pythonOlder "3.5";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-08-26 20:32:29 +01:00
|
|
|
sha256 = "791bac18f0bf0dee109194644f151cf8b7ff529c4b8d6239ac48104a3251a19f";
|
2021-03-18 09:16:59 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ pytestCheckHook ];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "ajsonrpc" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Async JSON-RPC 2.0 protocol + asyncio server";
|
|
|
|
homepage = "https://github.com/pavlov99/ajsonrpc";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ oxzi ];
|
|
|
|
};
|
|
|
|
}
|