24 lines
682 B
Nix
24 lines
682 B
Nix
{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, case, vine }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "amqp";
|
|
version = "5.0.5";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "affdd263d8b8eb3c98170b78bf83867cdb6a14901d586e00ddb65bfe2f0c4e60";
|
|
};
|
|
|
|
propagatedBuildInputs = [ vine ];
|
|
|
|
checkInputs = [ pytestCheckHook case ];
|
|
disabledTests = [
|
|
"test_rmq.py" # requires network access
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/celery/py-amqp";
|
|
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;
|
|
};
|
|
}
|