depot/third_party/nixpkgs/pkgs/development/python-modules/amqp/default.nix
Default email 2ce89355c3 Project import generated by Copybara.
GitOrigin-RevId: 22a81aa5fc15b2d41b12f7160a71cd4a9f3c3fa1
2020-06-15 17:56:04 +02:00

23 lines
718 B
Nix

{ stdenv, buildPythonPackage, fetchPypi, pytest, case, vine, pytest-sugar }:
buildPythonPackage rec {
pname = "amqp";
version = "2.6.0";
src = fetchPypi {
inherit pname version;
sha256 = "24dbaff8ce4f30566bb88976b398e8c4e77637171af3af6f1b9650f48890e60b";
};
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;
};
}