3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/pq/default.nix

28 lines
581 B
Nix
Raw Normal View History

2020-07-21 16:08:04 +01:00
{ lib
, buildPythonPackage
, fetchPypi
, isPy27
}:
buildPythonPackage rec {
pname = "pq";
2020-10-15 15:14:20 +01:00
version = "1.9.0";
2020-07-21 16:08:04 +01:00
disabled = isPy27;
src = fetchPypi {
inherit pname version;
2020-10-15 15:14:20 +01:00
sha256 = "c664ee3a9a25efcb583e3d1d797588fb7c2fb5096220689eec78a7946b01b5ff";
2020-07-21 16:08:04 +01:00
};
# tests require running postgresql cluster
doCheck = false;
pythonImportsCheck = [ "pq" ];
2020-07-21 16:08:04 +01:00
meta = with lib; {
description = "PQ is a transactional queue for PostgreSQL";
2020-10-15 15:14:20 +01:00
homepage = "https://github.com/malthe/pq/";
2020-07-21 16:08:04 +01:00
license = licenses.bsd3;
maintainers = [ maintainers.costrouc ];
};
}