sqruff: 0.29.3 -> 0.32.0; add self to maintainers (#478917)

This commit is contained in:
Matthias Beyer
2026-01-11 14:55:47 +00:00
committed by GitHub
+12 -6
View File
@@ -8,16 +8,16 @@
}:
rustPlatform.buildRustPackage rec {
pname = "sqruff";
version = "0.29.3";
version = "0.32.0";
src = fetchFromGitHub {
owner = "quarylabs";
repo = "sqruff";
tag = "v${version}";
hash = "sha256-bJmkHOACjdSXHE56okrIFERs1wK00XeyipdIFbRjIFI=";
hash = "sha256-/hMeYhiz2W1zu68LfZmmTK41nV5nJSLMZFQ4HKp0BSw=";
};
cargoHash = "sha256-TxADMtapo6Pc4Z0MUkzkzUIrLnGa1DdZFzfTq4buF4g=";
cargoHash = "sha256-ytPLhC9qOcdA09xcQGwtUXUaD9QXn0bjyzgT4I/4xjw=";
# Disable the `python` feature which doesn't work on Nix yet
buildNoDefaultFeatures = true;
@@ -28,14 +28,17 @@ rustPlatform.buildRustPackage rec {
substituteInPlace \
crates/cli/tests/config_not_found.rs \
crates/cli/tests/configure_rule.rs \
crates/cli/tests/dialect_override.rs \
crates/cli/tests/fix_parse_errors.rs \
crates/cli/tests/fix_return_code.rs \
crates/cli/tests/ignore_data_directory.rs \
crates/cli/tests/verbose_logging_ignore.rs \
crates/cli/tests/ui_github.rs \
crates/cli/tests/ui_json.rs \
crates/cli/tests/ui.rs \
--replace-fail \
'sqruff_path.push(format!("../../target/{}/sqruff", profile));' \
'sqruff_path.push(format!("../../target/${stdenv.hostPlatform.rust.cargoShortTarget}/{}/sqruff", profile));'
'"../../target/{}/sqruff"' \
'"../../target/${stdenv.hostPlatform.rust.cargoShortTarget}/{}/sqruff"'
'';
nativeCheckInputs = [ versionCheckHook ];
@@ -51,6 +54,9 @@ rustPlatform.buildRustPackage rec {
changelog = "https://github.com/quarylabs/sqruff/releases/tag/${version}";
license = lib.licenses.asl20;
mainProgram = "sqruff";
maintainers = with lib.maintainers; [ hasnep ];
maintainers = with lib.maintainers; [
hasnep
pyrox0
];
};
}