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;
};
}

View File

@ -3522,25 +3522,7 @@ in {
pyyaml = callPackage ../development/python-modules/pyyaml { };
rabbitpy = buildPythonPackage rec {
version = "0.26.2";
name = "rabbitpy-${version}";
src = pkgs.fetchurl {
url = "mirror://pypi/r/rabbitpy/${name}.tar.gz";
sha256 = "0pgijv7mgxc4sm7p9s716dhl600l8isisxzyg4hz7ng1sk09p1w3";
};
buildInputs = with self; [ mock nose ];
propagatedBuildInputs = with self; [ pamqp ];
meta = {
description = "A pure python, thread-safe, minimalistic and pythonic RabbitMQ client library";
homepage = https://pypi.python.org/pypi/rabbitpy;
license = licenses.bsd3;
};
};
rabbitpy = callPackage ../development/python-modules/rabbitpy { };
radicale_infcloud = callPackage ../development/python-modules/radicale_infcloud {};