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

25 lines
690 B
Nix
Raw Normal View History

{ lib, stdenv, buildPythonPackage, fetchPypi, pytestCheckHook, case, vine }:
2018-03-31 10:06:58 +01:00
buildPythonPackage rec {
pname = "amqp";
2020-11-29 14:04:22 +00:00
version = "5.0.2";
2018-03-31 10:06:58 +01:00
src = fetchPypi {
inherit pname version;
2020-11-29 14:04:22 +00:00
sha256 = "fcd5b3baeeb7fc19b3486ff6d10543099d40ae1f5c9196eae695d1cde1b2f784";
2018-03-31 10:06:58 +01:00
};
propagatedBuildInputs = [ vine ];
2020-07-07 14:04:48 +01:00
checkInputs = [ pytestCheckHook case ];
disabledTests = [
"test_rmq.py" # requires network access
];
2018-06-12 17:25:28 +01:00
meta = with lib; {
homepage = "https://github.com/celery/py-amqp";
2018-03-31 10:06:58 +01: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;
};
}