biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / aiormq / default.nix
blob0c80e43542641cda2c89e33e5529dc8dc814a5fa
2   lib,
3   aiomisc-pytest,
4   buildPythonPackage,
5   fetchFromGitHub,
6   pythonOlder,
7   pytestCheckHook,
8   pamqp,
9   yarl,
10   poetry-core,
13 buildPythonPackage rec {
14   pname = "aiormq";
15   version = "6.8.1";
16   pyproject = true;
18   disabled = pythonOlder "3.8";
20   src = fetchFromGitHub {
21     owner = "mosquito";
22     repo = "aiormq";
23     rev = "refs/tags/${version}";
24     hash = "sha256-3+PoDB5Owy8BWBUisX0i1mV8rqs5K9pBFQwup8vKxlg=";
25   };
27   nativeBuildInputs = [
28     poetry-core
29   ];
31   pythonRelaxDeps = [ "pamqp" ];
33   propagatedBuildInputs = [
34     pamqp
35     yarl
36   ];
38   nativeCheckInputs = [ pytestCheckHook ];
40   checkInputs = [ aiomisc-pytest ];
42   # Tests attempt to connect to a RabbitMQ server
43   disabledTestPaths = [
44     "tests/test_channel.py"
45     "tests/test_connection.py"
46   ];
48   pythonImportsCheck = [ "aiormq" ];
50   meta = with lib; {
51     description = "AMQP 0.9.1 asynchronous client library";
52     homepage = "https://github.com/mosquito/aiormq";
53     changelog = "https://github.com/mosquito/aiormq/releases/tag/${version}";
54     license = licenses.asl20;
55     maintainers = with maintainers; [ emilytrau ];
56   };