From 3bfeed2d7b057a0016818b79c2d947263225f3bc Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 3 Jan 2022 08:55:18 +0100 Subject: [PATCH] sqlfluff: 0.8.2 -> 0.9.0 --- .../tools/database/sqlfluff/default.nix | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/pkgs/development/tools/database/sqlfluff/default.nix b/pkgs/development/tools/database/sqlfluff/default.nix index 26d3377b22ff..f755c4593e89 100644 --- a/pkgs/development/tools/database/sqlfluff/default.nix +++ b/pkgs/development/tools/database/sqlfluff/default.nix @@ -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";