1{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, case, vine }:
2
3buildPythonPackage rec {
4 pname = "amqp";
5 version = "5.0.6";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "03e16e94f2b34c31f8bf1206d8ddd3ccaa4c315f7f6a1879b7b1210d229568c2";
10 };
11
12 propagatedBuildInputs = [ vine ];
13
14 checkInputs = [ pytestCheckHook case ];
15 disabledTests = [
16 "test_rmq.py" # requires network access
17 ];
18
19 meta = with lib; {
20 homepage = "https://github.com/celery/py-amqp";
21 description = "Python client for the Advanced Message Queuing Procotol (AMQP). This is a fork of amqplib which is maintained by the Celery project";
22 license = licenses.lgpl21;
23 };
24}