depot/third_party/nixpkgs/pkgs/development/python-modules/amqp/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

23 lines
718 B
Nix

{ stdenv, buildPythonPackage, fetchPypi, pytest, case, vine, pytest-sugar }:
buildPythonPackage rec {
pname = "amqp";
version = "2.5.2";
src = fetchPypi {
inherit pname version;
sha256 = "77f1aef9410698d20eaeac5b73a87817365f457a507d82edf292e12cbb83b08d";
};
checkInputs = [ pytest case pytest-sugar ];
propagatedBuildInputs = [ vine ];
# Disable because pytest-sugar requires an old version of pytest
doCheck = false;
meta = with stdenv.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;
};
}