From fc24e4237dac83efe6c6b3f4ec3482332a33ccf9 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Thu, 10 Jan 2019 02:06:41 +0100 Subject: [PATCH] python3Packages.pika-pool: fix build Loosen version constraint to allow current `pika` as well (currently 0.12). See also https://hydra.nixos.org/build/86116480 --- pkgs/development/python-modules/pika-pool/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/pika-pool/default.nix b/pkgs/development/python-modules/pika-pool/default.nix index 5cb1e9027a90..5007fc78d10f 100644 --- a/pkgs/development/python-modules/pika-pool/default.nix +++ b/pkgs/development/python-modules/pika-pool/default.nix @@ -11,6 +11,10 @@ buildPythonPackage rec { sha256 = "f3985888cc2788cdbd293a68a8b5702a9c955db6f7b8b551aeac91e7f32da397"; }; + postPatch = '' + substituteInPlace setup.py --replace "pika >=0.9,<0.11" "pika" + ''; + # Tests require database connections doCheck = false;