depot/third_party/nixpkgs/pkgs/development/python-modules/pq/default.nix
Default email 87f9c27ba9 Project import generated by Copybara.
GitOrigin-RevId: fe2ecaf706a5907b5e54d979fbde4924d84b65fc
2023-04-12 14:48:02 +02:00

27 lines
568 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, isPy27
}:
buildPythonPackage rec {
pname = "pq";
version = "1.9.1";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "sha256-1krw77ij69EbLg5mKmQmxeHpn38uRG9EOboGmRk+StY=";
};
# 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 ];
};
}