2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
2017-05-12 22:59:31 +01:00
|
|
|
, pika
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pika-pool";
|
|
|
|
version = "0.1.3";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "f3985888cc2788cdbd293a68a8b5702a9c955db6f7b8b551aeac91e7f32da397";
|
|
|
|
};
|
|
|
|
|
2019-01-10 01:06:41 +00:00
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace setup.py --replace "pika >=0.9,<0.11" "pika"
|
|
|
|
'';
|
|
|
|
|
2017-05-12 22:59:31 +01:00
|
|
|
# Tests require database connections
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pika ];
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/bninja/pika-pool";
|
2017-05-12 22:59:31 +01:00
|
|
|
license = licenses.bsdOriginal;
|
|
|
|
description = "Pools for pikas.";
|
|
|
|
};
|
|
|
|
}
|