depot/third_party/nixpkgs/pkgs/development/python-modules/pgspecial/default.nix

44 lines
761 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, psycopg
, click
, configobj
, sqlparse
}:
buildPythonPackage rec {
pname = "pgspecial";
version = "2.1.1";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-o4I5zZYfrDPObaNcRm11istvlCkBWY19905bgv5vVjY=";
};
propagatedBuildInputs = [
click
sqlparse
psycopg
];
nativeCheckInputs = [
configobj
pytestCheckHook
];
disabledTests = [
# requires a postgresql server
"test_slash_dp_pattern_schema"
];
meta = with lib; {
description = "Meta-commands handler for Postgres Database";
homepage = "https://github.com/dbcli/pgspecial";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
};
}