Files
nixpkgs/pkgs/development/python-modules/pgspecial/default.nix
T
Jörg Thalheim 5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00

52 lines
919 B
Nix

{
lib,
buildPythonPackage,
click,
configobj,
fetchPypi,
psycopg,
pytestCheckHook,
pythonOlder,
setuptools,
sqlparse,
}:
buildPythonPackage rec {
pname = "pgspecial";
version = "2.1.2";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-8EGeGzt4+zpy/jtUb2eIpxIJFTLVmf51k7X27lWoj4c=";
};
build-system = [ setuptools ];
dependencies = [
click
sqlparse
psycopg
];
nativeCheckInputs = [
configobj
pytestCheckHook
];
disabledTests = [
# Test 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";
changelog = "https://github.com/dbcli/pgspecial/releases/tag/v${version}";
license = licenses.bsd3;
maintainers = [ ];
};
}