depot/third_party/nixpkgs/pkgs/development/python-modules/pgspecial/default.nix
Default email bb584b27e9 Project import generated by Copybara.
GitOrigin-RevId: 5181d5945eda382ff6a9ca3e072ed6ea9b547fee
2022-04-15 03:41:22 +02:00

41 lines
698 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, psycopg2
, click
, configobj
, sqlparse
}:
buildPythonPackage rec {
pname = "pgspecial";
version = "1.13.1";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-1dq5ZpCQgnWRbcLGIu+uIX8ULggWX6NmlJ1By8VlhwE=";
};
propagatedBuildInputs = [
click
sqlparse
psycopg2
];
checkInputs = [
configobj
pytestCheckHook
];
disabledTests = [
# requires a postgresql server
"test_slash_dp_pattern_schema"
];
meta = with lib; {
description = "Meta-commands handler for Postgres Database";
homepage = "https://pypi.python.org/pypi/pgspecial";
license = licenses.bsd3;
};
}