Merge pull request #116727 from oxzi/python-ajsonrpc-1.1.0

pythonPackages.ajsonrpc: init at 1.1.0
This commit is contained in:
Fabian Affolter 2021-03-18 19:34:45 +01:00 committed by GitHub
commit 35d53584ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,24 @@
{ lib, pythonOlder, buildPythonPackage, fetchPypi, pytestCheckHook }:
buildPythonPackage rec {
pname = "ajsonrpc";
version = "1.1.0";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "1b5r8975wdnk3qnc1qjnn4lkxmqcir3brbwnxml9ii90dnsw408a";
};
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 ];
};
}

View File

@ -328,6 +328,8 @@ in {
ajpy = callPackage ../development/python-modules/ajpy { };
ajsonrpc = callPackage ../development/python-modules/ajsonrpc { };
alabaster = callPackage ../development/python-modules/alabaster { };
alarmdecoder = callPackage ../development/python-modules/alarmdecoder { };