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

24 lines
718 B
Nix
Raw Normal View History

2018-06-12 18:25:28 +02:00
{ stdenv, buildPythonPackage, fetchPypi, pytest, case, vine, pytest-sugar }:
2018-03-31 11:06:58 +02:00
buildPythonPackage rec {
pname = "amqp";
2020-06-06 08:46:57 +02:00
version = "2.6.0";
2018-03-31 11:06:58 +02:00
src = fetchPypi {
inherit pname version;
2020-06-06 08:46:57 +02:00
sha256 = "24dbaff8ce4f30566bb88976b398e8c4e77637171af3af6f1b9650f48890e60b";
2018-03-31 11:06:58 +02:00
};
2018-06-12 18:25:28 +02:00
checkInputs = [ pytest case pytest-sugar ];
2018-03-31 11:06:58 +02:00
propagatedBuildInputs = [ vine ];
2018-06-12 18:25:28 +02:00
# Disable because pytest-sugar requires an old version of pytest
doCheck = false;
2018-03-31 11:06:58 +02:00
meta = with stdenv.lib; {
homepage = "https://github.com/celery/py-amqp";
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";
license = licenses.lgpl21;
};
}