nixpkgs/pkgs/development/python-modules/amqp/default.nix
2021-01-25 18:31:47 +01:00

25 lines
682 B
Nix

{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, case, vine }:
buildPythonPackage rec {
pname = "amqp";
version = "5.0.3";
src = fetchPypi {
inherit pname version;
sha256 = "1733ebf713050504fd9d2ebc661f1fc95b3588f99ee87d2e39c84c27bfd815dc";
};
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;
};
}