3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/amqp/default.nix

24 lines
716 B
Nix
Raw Normal View History

2018-06-12 17:25:28 +01:00
{ stdenv, buildPythonPackage, fetchPypi, pytest, case, vine, pytest-sugar }:
2018-03-31 10:06:58 +01:00
buildPythonPackage rec {
pname = "amqp";
2019-03-03 23:16:11 +00:00
version = "2.4.2";
2018-03-31 10:06:58 +01:00
src = fetchPypi {
inherit pname version;
2019-03-03 23:16:11 +00:00
sha256 = "043beb485774ca69718a35602089e524f87168268f0d1ae115f28b88d27f92d7";
2018-03-31 10:06:58 +01:00
};
2018-06-12 17:25:28 +01:00
checkInputs = [ pytest case pytest-sugar ];
2018-03-31 10:06:58 +01:00
propagatedBuildInputs = [ vine ];
2018-06-12 17:25:28 +01:00
# Disable because pytest-sugar requires an old version of pytest
doCheck = false;
2018-03-31 10:06:58 +01:00
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;
};
}