nixpkgs/pkgs/development/python-modules/pq/default.nix
Robert Scott 70c56dd486 pythonPackages.pq: fix build
we can't run the tests anyway, so remove fragile attempts to patch them
2020-09-10 15:15:58 -07:00

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 ];
};
}