gitlogue: 0.9.0 -> 0.10.0 (#549326)

This commit is contained in:
Peder Bergebakken Sundt
2026-08-07 14:11:47 +00:00
committed by GitHub

View File

@@ -6,21 +6,25 @@
openssl,
libgit2,
libssh2,
versionCheckHook,
nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "gitlogue";
version = "0.9.0";
version = "0.10.0";
strictDeps = true;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "unhappychoice";
repo = "gitlogue";
tag = "v${finalAttrs.version}";
hash = "sha256-w+5X3NhHCLDXRGQx2JxpIayekMk242uia1bJSRjDDAE=";
hash = "sha256-hmWp22UPcKRjLM6vNDkdWrgkvjO27Ys2xzkx/co8lrE=";
};
cargoHash = "sha256-Ne0dMpQJ2W/JgCXijosqXBr8B6C1XgK4KnOjByckcms=";
cargoHash = "sha256-PfITSo8iTQ1Y3wn/9PD4fsMGF0oRw1f1Xnhki4voqpM=";
nativeBuildInputs = [ pkg-config ];
@@ -30,12 +34,26 @@ rustPlatform.buildRustPackage (finalAttrs: {
libssh2
];
checkFlags = lib.forEach [
# integration tests
"default_playback_fails_only_after_ui_startup_without_tty"
"default_playback_quits_cleanly_in_pseudo_tty"
"default_playback_with_invalid_theme_fails_before_ui_startup"
"diff_subcommand_reports_no_changes_for_clean_repo"
"diff_subcommand_with_invalid_theme_fails_before_ui_startup"
"diff_subcommand_with_staged_changes_fails_only_after_ui_startup_without_tty"
"diff_subcommand_with_staged_changes_quits_cleanly_in_pseudo_tty"
] (test: "--skip=${test}");
env = {
OPENSSL_NO_VENDOR = 1;
LIBGIT2_NO_VENDOR = 1;
LIBSSH2_SYS_USE_PKG_CONFIG = 1;
};
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
passthru.updateScript = nix-update-script { };
meta = {