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

28 lines
579 B
Nix
Raw Normal View History

2020-07-21 16:08:04 +01:00
{ lib
, buildPythonPackage
, fetchPypi
, isPy27
}:
buildPythonPackage rec {
pname = "pq";
2020-08-16 18:31:10 +01:00
version = "1.8.2";
2020-07-21 16:08:04 +01:00
disabled = isPy27;
src = fetchPypi {
inherit pname version;
2020-08-16 18:31:10 +01:00
sha256 = "f54143844e73f4182532e68548dee447dd78dd00310a087e8cdee756d476a173";
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";
homepage = https://github.com/malthe/pq/;
license = licenses.bsd3;
maintainers = [ maintainers.costrouc ];
};
}