python3Packages.amqp: 5.0.6 -> 5.0.9

This commit is contained in:
Fabian Affolter
2022-01-13 14:49:18 +01:00
parent 664b8d39b7
commit 1f96de6bff
@@ -1,24 +1,46 @@
{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, case, vine }:
{ lib
, buildPythonPackage
, case
, fetchPypi
, pytestCheckHook
, pythonOlder
, vine
}:
buildPythonPackage rec {
pname = "amqp";
version = "5.0.6";
version = "5.0.9";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "03e16e94f2b34c31f8bf1206d8ddd3ccaa4c315f7f6a1879b7b1210d229568c2";
hash = "sha256-Hl9wdCTlRAeMoZbnKuahSIfOdOAr0Sa+VLfAPJcb7xg=";
};
propagatedBuildInputs = [ vine ];
propagatedBuildInputs = [
vine
];
checkInputs = [
case
pytestCheckHook
];
checkInputs = [ pytestCheckHook case ];
disabledTests = [
"test_rmq.py" # requires network access
# Requires network access
"test_rmq.py"
];
pythonImportsCheck = [
"amqp"
];
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;
license = licenses.bsd3;
maintainers = with maintainers; [ fab ];
};
}