mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
python3Packages.aiormq: init at 6.6.4
This commit is contained in:
parent
7b28196a8e
commit
ee0d419d3b
56
pkgs/development/python-modules/aiormq/default.nix
Normal file
56
pkgs/development/python-modules/aiormq/default.nix
Normal file
@ -0,0 +1,56 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, pytestCheckHook
|
||||
, pamqp
|
||||
, yarl
|
||||
, setuptools
|
||||
, poetry-core
|
||||
, aiomisc
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiormq";
|
||||
version = "6.6.4";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mosquito";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "+zTSaQzBoIHDUQgOpD6xvoruFFHZBb0z5D6uAUo0W5A=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
poetry-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pamqp
|
||||
yarl
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
checkInputs = [
|
||||
aiomisc
|
||||
];
|
||||
# Tests attempt to connect to a RabbitMQ server
|
||||
disabledTestPaths = [
|
||||
"tests/test_channel.py"
|
||||
"tests/test_connection.py"
|
||||
];
|
||||
pythonImportsCheck = [ "aiormq" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "AMQP 0.9.1 asynchronous client library";
|
||||
homepage = "https://github.com/mosquito/aiormq";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ emilytrau ];
|
||||
};
|
||||
}
|
@ -302,6 +302,8 @@ self: super: with self; {
|
||||
|
||||
aioridwell = callPackage ../development/python-modules/aioridwell { };
|
||||
|
||||
aiormq = callPackage ../development/python-modules/aiormq { };
|
||||
|
||||
aiorpcx = callPackage ../development/python-modules/aiorpcx { };
|
||||
|
||||
aiortm = callPackage ../development/python-modules/aiortm { };
|
||||
|
Loading…
Reference in New Issue
Block a user