3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/amqp/default.nix
2022-01-13 14:49:18 +01:00

47 lines
850 B
Nix

{ lib
, buildPythonPackage
, case
, fetchPypi
, pytestCheckHook
, pythonOlder
, vine
}:
buildPythonPackage rec {
pname = "amqp";
version = "5.0.9";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-Hl9wdCTlRAeMoZbnKuahSIfOdOAr0Sa+VLfAPJcb7xg=";
};
propagatedBuildInputs = [
vine
];
checkInputs = [
case
pytestCheckHook
];
disabledTests = [
# 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.bsd3;
maintainers = with maintainers; [ fab ];
};
}