git.iko.soy/typeable/nixpkgs
on master help sign in
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

commitfc24e4237dac83efe6c6b3f4ec3482332a33ccf9 authorMaximilian Bosch <maximilian@mbosch.me> dateThu 10 Jan 2019, 02:06 (8 years ago) parent338a5c3
1 file changed+4
pkgs/development/python-modules/pika-pool/default.nix+4
pkgs/development/python-modules/pika-pool/default.nix+4
@@ -11,6 +11,10 @@ buildPythonPackage rec {
1111 sha256 = "f3985888cc2788cdbd293a68a8b5702a9c955db6f7b8b551aeac91e7f32da397";
1212 };
1313
14+ postPatch = ''
15+ substituteInPlace setup.py --replace "pika >=0.9,<0.11" "pika"
16+ '';
17+
1418 # Tests require database connections
1519 doCheck = false;
1620