pythonPackages.ajsonrpc: init at 1.1.0
Co-authored-by: Fabian Affolter <mail@fabian-affolter.ch>
This commit is contained in:
parent
5a41d0d5a0
commit
256f4e77c5
24
pkgs/development/python-modules/ajsonrpc/default.nix
Normal file
24
pkgs/development/python-modules/ajsonrpc/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user