pythonPackages.rabbitpy: 1.0.0 -> 2.0.1

This commit is contained in:
Robert Scott 2020-09-13 18:57:34 +01:00 committed by Jon
parent 178d1b119c
commit 16ed0c3069

View file

@ -7,7 +7,7 @@
}: }:
buildPythonPackage rec { buildPythonPackage rec {
version = "1.0.0"; version = "2.0.1";
pname = "rabbitpy"; pname = "rabbitpy";
# No tests in the pypi tarball, so we directly fetch from git # No tests in the pypi tarball, so we directly fetch from git
@ -15,7 +15,7 @@ buildPythonPackage rec {
owner = "gmr"; owner = "gmr";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "0fd80zlr4p2sh77rxyyfi9l0h2zqi2csgadr0rhnpgpqsy10qck6"; sha256 = "0m5z3i3d5adrz1wh6y35xjlls3cq6p4y9p1mzghw3k7hdvg26cck";
}; };
propagatedBuildInputs = [ pamqp ]; propagatedBuildInputs = [ pamqp ];
@ -31,7 +31,7 @@ buildPythonPackage rec {
postPatch = '' postPatch = ''
# See: https://github.com/gmr/rabbitpy/issues/118 # See: https://github.com/gmr/rabbitpy/issues/118
substituteInPlace setup.py \ substituteInPlace setup.py \
--replace 'pamqp>=1.6.1,<2.0' 'pamqp' --replace 'pamqp>=2,<3' 'pamqp'
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {