nixpkgs-suyu/pkgs/development/python-modules/amqp/default.nix

25 lines
682 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, case, vine }:
2018-03-31 11:06:58 +02:00
buildPythonPackage rec {
pname = "amqp";
2021-01-28 18:11:30 +01:00
version = "5.0.5";
2018-03-31 11:06:58 +02:00
src = fetchPypi {
inherit pname version;
2021-01-28 18:11:30 +01:00
sha256 = "affdd263d8b8eb3c98170b78bf83867cdb6a14901d586e00ddb65bfe2f0c4e60";
2018-03-31 11:06:58 +02:00
};
propagatedBuildInputs = [ vine ];
2020-07-07 15:04:48 +02:00
checkInputs = [ pytestCheckHook case ];
disabledTests = [
"test_rmq.py" # requires network access
];
2018-06-12 18:25:28 +02:00
meta = with lib; {
homepage = "https://github.com/celery/py-amqp";
2018-03-31 11:06:58 +02:00
description = "Python client for the Advanced Message Queuing Procotol (AMQP). This is a fork of amqplib which is maintained by the Celery project";
license = licenses.lgpl21;
};
}