Merge pull request #303598 from r-ryantm/auto-update/sqlfluff

sqlfluff: 3.0.3 -> 3.0.4
This commit is contained in:
Fabian Affolter
2024-04-13 16:19:41 +02:00
committed by GitHub
@@ -1,45 +1,47 @@
{ lib
, fetchFromGitHub
, python3
{
lib,
fetchFromGitHub,
python3,
}:
python3.pkgs.buildPythonApplication rec {
pname = "sqlfluff";
version = "3.0.3";
version = "3.0.4";
pyproject = true;
src = fetchFromGitHub {
owner = "sqlfluff";
repo = "sqlfluff";
rev = "refs/tags/${version}";
hash = "sha256-/Zp/iAX6Y6MaXMjpk3dRYgZNhjJtl3cr/FiCyhGK9X4=";
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";