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