sqlfluff: 0.8.2 -> 0.9.0

This commit is contained in:
Fabian Affolter 2022-01-03 08:55:18 +01:00
parent c38ca58c0b
commit 3bfeed2d7b

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";