pythonPackages.rabbitpy: refactor move to python-moduels

This commit is contained in:
Chris Ostrouchov
2018-10-26 11:51:53 -04:00
committed by Frederik Rietdijk
parent 467c2fd598
commit 3b19820796
2 changed files with 28 additions and 19 deletions

View File

@@ -0,0 +1,27 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, mock
, nose
, pamqp
}:
buildPythonPackage rec {
version = "0.26.2";
pname = "rabbitpy";
src = fetchPypi {
inherit pname version;
sha256 = "0pgijv7mgxc4sm7p9s716dhl600l8isisxzyg4hz7ng1sk09p1w3";
};
buildInputs = [ mock nose ];
propagatedBuildInputs = [ pamqp ];
meta = with stdenv.lib; {
description = "A pure python, thread-safe, minimalistic and pythonic RabbitMQ client library";
homepage = https://pypi.python.org/pypi/rabbitpy;
license = licenses.bsd3;
};
}