mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
python3Packages.asyncio-nats-client: init at 0.11.4
This commit is contained in:
parent
3c3437afa6
commit
c8b27b818f
@ -0,0 +1,50 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, ed25519
|
||||||
|
, fetchFromGitHub
|
||||||
|
, nats-server
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "asyncio-nats-client";
|
||||||
|
version = "0.11.4";
|
||||||
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "nats-io";
|
||||||
|
repo = "nats.py";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "1aj57xi2rj1xswq8air13xdsll1ybpi0nmz5f6jq01azm0zy9xyd";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
ed25519
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
nats-server
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace setup.cfg \
|
||||||
|
--replace "--cov=nats --cov-report html" ""
|
||||||
|
'';
|
||||||
|
|
||||||
|
disabledTests = [
|
||||||
|
# RuntimeError: Event loop is closed
|
||||||
|
"test_subscribe_no_echo"
|
||||||
|
"test_reconnect_to_new_server_with_auth"
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "nats.aio" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Python client for NATS.io";
|
||||||
|
homepage = "https://github.com/nats-io/nats.py";
|
||||||
|
license = with licenses; [ asl20 ];
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
@ -542,6 +542,8 @@ in {
|
|||||||
|
|
||||||
asyncio-mqtt = callPackage ../development/python-modules/asyncio_mqtt { };
|
asyncio-mqtt = callPackage ../development/python-modules/asyncio_mqtt { };
|
||||||
|
|
||||||
|
asyncio-nats-client = callPackage ../development/python-modules/asyncio-nats-client { };
|
||||||
|
|
||||||
asyncio-throttle = callPackage ../development/python-modules/asyncio-throttle { };
|
asyncio-throttle = callPackage ../development/python-modules/asyncio-throttle { };
|
||||||
|
|
||||||
asyncpg = callPackage ../development/python-modules/asyncpg { };
|
asyncpg = callPackage ../development/python-modules/asyncpg { };
|
||||||
@ -4512,6 +4514,8 @@ in {
|
|||||||
|
|
||||||
nassl = callPackage ../development/python-modules/nassl { };
|
nassl = callPackage ../development/python-modules/nassl { };
|
||||||
|
|
||||||
|
nats-python = callPackage ../development/python-modules/nats-python { };
|
||||||
|
|
||||||
natsort = callPackage ../development/python-modules/natsort { };
|
natsort = callPackage ../development/python-modules/natsort { };
|
||||||
|
|
||||||
naturalsort = callPackage ../development/python-modules/naturalsort { };
|
naturalsort = callPackage ../development/python-modules/naturalsort { };
|
||||||
|
Loading…
Reference in New Issue
Block a user