pythonPackages.amqplib: 0.6.1 -> 1.0.2

This commit is contained in:
Chris Ostrouchov 2018-10-10 17:32:13 -04:00 committed by Frederik Rietdijk
parent 1533099b9f
commit 56e277354a

View File

@ -1,19 +1,24 @@
{ stdenv, buildPythonPackage, fetchurl }: { stdenv, buildPythonPackage, fetchPypi, python }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "amqplib"; pname = "amqplib";
version = "0.6.1"; version = "1.0.2";
src = fetchurl { src = fetchPypi {
url = https://github.com/barryp/py-amqplib/archive/0.6.1.tar.gz; inherit pname version;
sha256 = "04nsn68wz9m24rvbssirkyighazbn20j60wjmi0r7jcpcf00sb3s"; extension = "tgz";
sha256 = "843d69b681a60afd21fbf50f310404ec67fcdf9d13dfcf6e9d41f3b456217e5b";
}; };
# error: invalid command 'test' # testing assumes network connection
doCheck = false; doCheck = false;
checkPhase = ''
${python.interpreter} tests/client_0_8/run_all.py
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = http://code.google.com/p/py-amqplib/; homepage = https://github.com/barryp/py-amqplib;
description = "Python client for the Advanced Message Queuing Procotol (AMQP)"; description = "Python client for the Advanced Message Queuing Procotol (AMQP)";
license = licenses.lgpl21; license = licenses.lgpl21;
}; };