70c56dd486
we can't run the tests anyway, so remove fragile attempts to patch them
28 lines
579 B
Nix
28 lines
579 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, isPy27
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pq";
|
|
version = "1.8.2";
|
|
disabled = isPy27;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "f54143844e73f4182532e68548dee447dd78dd00310a087e8cdee756d476a173";
|
|
};
|
|
|
|
# tests require running postgresql cluster
|
|
doCheck = false;
|
|
pythonImportsCheck = [ "pq" ];
|
|
|
|
meta = with lib; {
|
|
description = "PQ is a transactional queue for PostgreSQL";
|
|
homepage = https://github.com/malthe/pq/;
|
|
license = licenses.bsd3;
|
|
maintainers = [ maintainers.costrouc ];
|
|
};
|
|
}
|