depot/third_party/nixpkgs/pkgs/development/python-modules/pq/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

28 lines
572 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, isPy27
}:
buildPythonPackage rec {
pname = "pq";
version = "1.9.1";
format = "setuptools";
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 = [ ];
};
}