My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/amqplib/default.nix

25 lines
610 B

{ lib, buildPythonPackage, fetchPypi, python }:
buildPythonPackage rec {
pname = "amqplib";
version = "1.0.2";
src = fetchPypi {
inherit pname version;
extension = "tgz";
sha256 = "843d69b681a60afd21fbf50f310404ec67fcdf9d13dfcf6e9d41f3b456217e5b";
};
# testing assumes network connection
doCheck = false;
checkPhase = ''
${python.interpreter} tests/client_0_8/run_all.py
'';
meta = with lib; {
homepage = "https://github.com/barryp/py-amqplib";
description = "Python client for the Advanced Message Queuing Procotol (AMQP)";
license = licenses.lgpl21;
};
}