Merge pull request #297118 from fabaff/sqlfluff-bump

sqlfluff: 2.3.5 -> 3.0.2
This commit is contained in:
Fabian Affolter 2024-03-19 08:59:47 +01:00 committed by GitHub
commit bea39bb07c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,16 +5,20 @@
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "sqlfluff"; pname = "sqlfluff";
version = "2.3.5"; version = "3.0.2";
format = "setuptools"; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = pname; owner = "sqlfluff";
repo = pname; repo = "sqlfluff";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-l9py+qMI8t5L+FcUmJYXwemjUy/pcugbvhdW3oUOZMo="; hash = "sha256-GJpSBDxgI0UpIIVeF9dl9XzKJ2TuwWf/IOCzoTGJNRQ=";
}; };
nativeBuildInputs = with python3.pkgs; [
setuptools
];
propagatedBuildInputs = with python3.pkgs; [ propagatedBuildInputs = with python3.pkgs; [
appdirs appdirs
cached-property cached-property
@ -63,10 +67,10 @@ python3.pkgs.buildPythonApplication rec {
meta = with lib; { meta = with lib; {
description = "SQL linter and auto-formatter"; description = "SQL linter and auto-formatter";
mainProgram = "sqlfluff";
homepage = "https://www.sqlfluff.com/"; homepage = "https://www.sqlfluff.com/";
changelog = "https://github.com/sqlfluff/sqlfluff/blob/${version}/CHANGELOG.md"; changelog = "https://github.com/sqlfluff/sqlfluff/blob/${version}/CHANGELOG.md";
license = with licenses; [ mit ]; license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ]; maintainers = with maintainers; [ fab ];
mainProgram = "sqlfluff";
}; };
} }