about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/pgspecial/default.nix
blob: 308e8c9c8b64096c091991ad7ac08eed5171a3e7 (plain) (blame)
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
28
29
30
31
32
33
34
35
36
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, psycopg2
, click
, configobj
, sqlparse
}:

buildPythonPackage rec {
  pname = "pgspecial";
  version = "1.13.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "3847e205b19469f16ded05bda24b4758056d67ade4075a5ded4ce6628a9bad01";
  };

  propagatedBuildInputs = [
    click
    sqlparse
    psycopg2
  ];

  checkInputs = [
    configobj
    pytestCheckHook
  ];

  meta = with lib; {
    description = "Meta-commands handler for Postgres Database";
    homepage = "https://pypi.python.org/pypi/pgspecial";
    license = licenses.bsd3;
  };
}