nixpkgs/pkgs/development/python-modules/pika/default.nix
2021-01-25 18:31:47 +01:00

27 lines
492 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, nose
, mock
, twisted
, tornado
}:
buildPythonPackage rec {
pname = "pika";
version = "1.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "1gqx9avb9nwgiyw5nz08bf99v9b0hvzr1pmqn9wbhd2hnsj6p9wz";
};
checkInputs = [ nose mock twisted tornado ];
meta = with lib; {
description = "Pure-Python implementation of the AMQP 0-9-1 protocol";
homepage = "https://pika.readthedocs.org";
license = licenses.bsd3;
};
}