sqlfluff: format with nixfmt

This commit is contained in:
Fabian Affolter
2024-04-13 00:38:24 +02:00
parent 43e1b321d2
commit 08901bd1f7
@@ -1,6 +1,7 @@
{ lib
, fetchFromGitHub
, python3
{
lib,
fetchFromGitHub,
python3,
}:
python3.pkgs.buildPythonApplication rec {
@@ -15,31 +16,32 @@ python3.pkgs.buildPythonApplication rec {
hash = "sha256-C8xH7LMCVXeJerdp8skIsTBQHkz0pPVKgUG+tEwx5GI=";
};
build-system = with python3.pkgs; [
setuptools
];
build-system = with python3.pkgs; [ setuptools ];
dependencies = with python3.pkgs; [
appdirs
cached-property
chardet
click
colorama
configparser
diff-cover
jinja2
oyaml
pathspec
pytest
regex
tblib
toml
tqdm
typing-extensions
] ++ lib.optionals (pythonOlder "3.8") [
backports.cached-property
importlib_metadata
];
dependencies =
with python3.pkgs;
[
appdirs
cached-property
chardet
click
colorama
configparser
diff-cover
jinja2
oyaml
pathspec
pytest
regex
tblib
toml
tqdm
typing-extensions
]
++ lib.optionals (pythonOlder "3.8") [
backports.cached-property
importlib_metadata
];
nativeCheckInputs = with python3.pkgs; [
hypothesis
@@ -61,9 +63,7 @@ python3.pkgs.buildPythonApplication rec {
"test__rules__std_file_dbt"
];
pythonImportsCheck = [
"sqlfluff"
];
pythonImportsCheck = [ "sqlfluff" ];
meta = with lib; {
description = "SQL linter and auto-formatter";