depot/third_party/nixpkgs/pkgs/development/python-modules/pq/default.nix
Default email 58f8944c92 Project import generated by Copybara.
GitOrigin-RevId: 5aba0fe9766a7201a336249fd6cb76e0d7ba2faf
2020-09-24 23:45:31 -05:00

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