Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / pika-pool / default.nix
blob051fdef8fe7d3635b01bab61715b7fbd7e95b210
1 { lib, buildPythonPackage, fetchPypi
2 , pika
3 }:
5 buildPythonPackage rec {
6   pname = "pika-pool";
7   version = "0.1.3";
9   src = fetchPypi {
10     inherit pname version;
11     sha256 = "f3985888cc2788cdbd293a68a8b5702a9c955db6f7b8b551aeac91e7f32da397";
12   };
14   postPatch = ''
15     substituteInPlace setup.py --replace "pika >=0.9,<0.11" "pika"
16   '';
18   # Tests require database connections
19   doCheck = false;
21   propagatedBuildInputs = [ pika ];
22   meta = with lib; {
23     homepage = "https://github.com/bninja/pika-pool";
24     license = licenses.bsdOriginal;
25     description = "Pools for pikas.";
26   };