pythonPackages.rabbitpy: refactor move to python-moduels
This commit is contained in:
parent
467c2fd598
commit
3b19820796
27
pkgs/development/python-modules/rabbitpy/default.nix
Normal file
27
pkgs/development/python-modules/rabbitpy/default.nix
Normal 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;
|
||||
};
|
||||
|
||||
}
|
@ -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 {};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user