diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2024-03-19 12:01:19 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-19 12:01:19 +0000 |
commit | 0b369088d7534278bd67cf848fe30b786895faf3 (patch) | |
tree | 15e986a56ec34f5e8305ebb827618ad2a2f819f1 /pkgs/development/tools/database | |
parent | f95ae9e1268a76252f3c912b433b03bed30c0e8c (diff) | |
parent | cd42480049d3d6f1180cdc5548d987add0cc529f (diff) | |
download | nixlib-0b369088d7534278bd67cf848fe30b786895faf3.tar nixlib-0b369088d7534278bd67cf848fe30b786895faf3.tar.gz nixlib-0b369088d7534278bd67cf848fe30b786895faf3.tar.bz2 nixlib-0b369088d7534278bd67cf848fe30b786895faf3.tar.lz nixlib-0b369088d7534278bd67cf848fe30b786895faf3.tar.xz nixlib-0b369088d7534278bd67cf848fe30b786895faf3.tar.zst nixlib-0b369088d7534278bd67cf848fe30b786895faf3.zip |
Merge master into staging-next
Diffstat (limited to 'pkgs/development/tools/database')
-rw-r--r-- | pkgs/development/tools/database/sqlfluff/default.nix | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/pkgs/development/tools/database/sqlfluff/default.nix b/pkgs/development/tools/database/sqlfluff/default.nix index 7251689ade4c..8db953a8dca5 100644 --- a/pkgs/development/tools/database/sqlfluff/default.nix +++ b/pkgs/development/tools/database/sqlfluff/default.nix @@ -5,16 +5,20 @@ python3.pkgs.buildPythonApplication rec { pname = "sqlfluff"; - version = "2.3.5"; - format = "setuptools"; + version = "3.0.2"; + pyproject = true; src = fetchFromGitHub { - owner = pname; - repo = pname; + owner = "sqlfluff"; + repo = "sqlfluff"; rev = "refs/tags/${version}"; - hash = "sha256-l9py+qMI8t5L+FcUmJYXwemjUy/pcugbvhdW3oUOZMo="; + hash = "sha256-GJpSBDxgI0UpIIVeF9dl9XzKJ2TuwWf/IOCzoTGJNRQ="; }; + nativeBuildInputs = with python3.pkgs; [ + setuptools + ]; + propagatedBuildInputs = with python3.pkgs; [ appdirs cached-property @@ -63,10 +67,10 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "SQL linter and auto-formatter"; - mainProgram = "sqlfluff"; homepage = "https://www.sqlfluff.com/"; changelog = "https://github.com/sqlfluff/sqlfluff/blob/${version}/CHANGELOG.md"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; + mainProgram = "sqlfluff"; }; } |