Merge pull request #153303 from fabaff/bump-sqlfluff

sqlfluff: 0.8.2 -> 0.9.0
This commit is contained in:
Fabian Affolter 2022-01-03 22:49:04 +01:00 committed by GitHub
commit 7db30a6749
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,19 +5,19 @@
python3.pkgs.buildPythonApplication rec {
pname = "sqlfluff";
version = "0.8.2";
disabled = python3.pythonOlder "3.6";
version = "0.9.0";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = version;
sha256 = "sha256-0FlXHUjoeZ7XfmOSlY30b13i2t/4vyWwhDKXquXKaJE=";
hash = "sha256-AxK5pRuNkhJokuuv/5/ZJxZ2J9d6XLFPZJWQfq9baaU=";
};
propagatedBuildInputs = with python3.pkgs; [
appdirs
cached-property
chardet
click
colorama
configparser
@ -26,12 +26,16 @@ python3.pkgs.buildPythonApplication rec {
oyaml
pathspec
pytest
regex
tblib
toml
tqdm
typing-extensions
] ++ lib.optionals (pythonOlder "3.7") [
dataclasses
] ++ lib.optionals (pythonOlder "3.8") [
backports.cached-property
importlib_metadata
];
checkInputs = with python3.pkgs; [
@ -53,7 +57,9 @@ python3.pkgs.buildPythonApplication rec {
"test__rules__std_file_dbt"
];
pythonImportsCheck = [ "sqlfluff" ];
pythonImportsCheck = [
"sqlfluff"
];
meta = with lib; {
description = "SQL linter and auto-formatter";