nixpkgs/pkgs/development/python-modules/amqp/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

47 lines
850 B
Nix
Raw Normal View History

2022-01-13 14:49:18 +01:00
{ lib
, buildPythonPackage
, case
, fetchPypi
, pytestCheckHook
, pythonOlder
, vine
}:
2018-03-31 11:06:58 +02:00
buildPythonPackage rec {
pname = "amqp";
2022-04-26 23:44:09 +02:00
version = "5.1.1";
2022-01-13 14:49:18 +01:00
format = "setuptools";
disabled = pythonOlder "3.6";
2018-03-31 11:06:58 +02:00
src = fetchPypi {
inherit pname version;
2022-04-26 23:44:09 +02:00
hash = "sha256-LBsT/swIk+lGxly9XzZCeGHP+k6iIB2Pb8oi4qNzteI=";
2018-03-31 11:06:58 +02:00
};
2022-01-13 14:49:18 +01:00
propagatedBuildInputs = [
vine
];
checkInputs = [
case
pytestCheckHook
];
2018-03-31 11:06:58 +02:00
2020-07-07 15:04:48 +02:00
disabledTests = [
2022-01-13 14:49:18 +01:00
# Requires network access
"test_rmq.py"
];
pythonImportsCheck = [
"amqp"
2020-07-07 15:04:48 +02:00
];
2018-06-12 18:25:28 +02:00
meta = with lib; {
2018-03-31 11:06:58 +02:00
description = "Python client for the Advanced Message Queuing Procotol (AMQP). This is a fork of amqplib which is maintained by the Celery project";
2022-04-26 23:44:09 +02:00
homepage = "https://github.com/celery/py-amqp";
2022-01-13 14:49:18 +01:00
license = licenses.bsd3;
maintainers = with maintainers; [ fab ];
2018-03-31 11:06:58 +02:00
};
}