mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
2f4c34cb56
Diff: https://github.com/mosquito/aiormq/compare/refs/tags/6.7.4...6.7.6 Changelog: https://github.com/mosquito/aiormq/releases/tag/6.7.6
64 lines
1.1 KiB
Nix
64 lines
1.1 KiB
Nix
{ lib
|
|
, aiomisc-pytest
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pythonOlder
|
|
, pytestCheckHook
|
|
, pamqp
|
|
, yarl
|
|
, setuptools
|
|
, poetry-core
|
|
, aiomisc
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aiormq";
|
|
version = "6.7.6";
|
|
format = "pyproject";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mosquito";
|
|
repo = pname;
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-X5Uy1DGxvsyEFR1UgVYqxOX6mESLnNzQl7sVkvzjcw4=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
poetry-core
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
pamqp
|
|
yarl
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
checkInputs = [
|
|
aiomisc-pytest
|
|
];
|
|
|
|
# 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";
|
|
changelog = "https://github.com/mosquito/aiormq/releases/tag/${version}";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ emilytrau ];
|
|
};
|
|
}
|