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

25 lines
692 B
Nix
Raw Normal View History

2020-07-07 13:04:48 +00:00
{ stdenv, buildPythonPackage, fetchPypi, pytestCheckHook, case, vine }:
2018-03-31 09:06:58 +00:00
buildPythonPackage rec {
pname = "amqp";
2020-06-06 06:46:57 +00:00
version = "2.6.0";
2018-03-31 09:06:58 +00:00
src = fetchPypi {
inherit pname version;
2020-06-06 06:46:57 +00:00
sha256 = "24dbaff8ce4f30566bb88976b398e8c4e77637171af3af6f1b9650f48890e60b";
2018-03-31 09:06:58 +00:00
};
propagatedBuildInputs = [ vine ];
2020-07-07 13:04:48 +00:00
checkInputs = [ pytestCheckHook case ];
disabledTests = [
"test_rmq.py" # requires network access
];
2018-06-12 16:25:28 +00:00
2018-03-31 09:06:58 +00:00
meta = with stdenv.lib; {
homepage = "https://github.com/celery/py-amqp";
2018-03-31 09:06:58 +00:00
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;
};
}