2017-05-12 22:59:31 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
|
|
|
, 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 ];
|
|
|
|
meta = with stdenv.lib; {
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = https://github.com/bninja/pika-pool;
|
2017-05-12 22:59:31 +01:00
|
|
|
license = licenses.bsdOriginal;
|
|
|
|
description = "Pools for pikas.";
|
|
|
|
};
|
|
|
|
}
|