aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/pq/default.nix
blob: cfc5419bd23991ee6bba16911927f3c9a7364720 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ 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 ];
  };
}