gitui: refactor, add passthru.updateScript, 0.26.3 -> 0.27.0 (#373583)

This commit is contained in:
Nikolay Korotkiy
2025-01-17 22:22:20 +04:00
committed by GitHub
+17 -8
View File
@@ -6,24 +6,31 @@
libiconv,
openssl,
pkg-config,
cmake,
xclip,
darwin,
nix-update-script,
}:
rustPlatform.buildRustPackage rec {
let
pname = "gitui";
version = "0.26.3";
version = "0.27.0";
in
rustPlatform.buildRustPackage {
inherit pname version;
src = fetchFromGitHub {
owner = "extrawurst";
repo = "gitui";
rev = "v${version}";
hash = "sha256-j3y+KjC+o9p2omf4bN8+XevwU7WqiaQ0sfPqHySD2ik=";
hash = "sha256-jKJ1XnF6S7clyFGN2o3bHnYpC4ckl/lNXscmf6GRLbI=";
};
cargoHash = "sha256-vVEo0kSghOQsH3T6ZTAzN7gIUku0n7rDbKwNmOM9GZc=";
cargoHash = "sha256-T00TqxR2EWnDkZo3MUQhiG0oAUf1PgpkUMZLt7f4FH0=";
nativeBuildInputs = [ pkg-config ];
nativeBuildInputs = [
pkg-config
cmake
];
buildInputs =
[ openssl ]
@@ -54,12 +61,14 @@ rustPlatform.buildRustPackage rec {
"--skip=keys::key_config::tests::test_symbolic_links"
];
passthru.updateScript = nix-update-script { };
meta = {
changelog = "https://github.com/extrawurst/gitui/blob/v${version}/CHANGELOG.md";
description = "Blazing fast terminal-ui for Git written in Rust";
homepage = "https://github.com/extrawurst/gitui";
changelog = "https://github.com/extrawurst/gitui/blob/v${version}/CHANGELOG.md";
mainProgram = "gitui";
license = lib.licenses.mit;
mainProgram = "gitui";
maintainers = with lib.maintainers; [
Br1ght0ne
yanganto