Skip to content

Commit 2e11575

Browse files
authored
gitui: refactor, add passthru.updateScript, 0.26.3 -> 0.27.0 (#373583)
2 parents 3ca2ced + caad529 commit 2e11575

File tree

1 file changed

+17
-8
lines changed

1 file changed

+17
-8
lines changed

pkgs/by-name/gi/gitui/package.nix

+17-8
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,31 @@
66
libiconv,
77
openssl,
88
pkg-config,
9+
cmake,
910
xclip,
1011
darwin,
12+
nix-update-script,
1113
}:
12-
13-
rustPlatform.buildRustPackage rec {
14+
let
1415
pname = "gitui";
15-
version = "0.26.3";
16+
version = "0.27.0";
17+
in
18+
rustPlatform.buildRustPackage {
19+
inherit pname version;
1620

1721
src = fetchFromGitHub {
1822
owner = "extrawurst";
1923
repo = "gitui";
2024
rev = "v${version}";
21-
hash = "sha256-j3y+KjC+o9p2omf4bN8+XevwU7WqiaQ0sfPqHySD2ik=";
25+
hash = "sha256-jKJ1XnF6S7clyFGN2o3bHnYpC4ckl/lNXscmf6GRLbI=";
2226
};
2327

24-
cargoHash = "sha256-vVEo0kSghOQsH3T6ZTAzN7gIUku0n7rDbKwNmOM9GZc=";
28+
cargoHash = "sha256-T00TqxR2EWnDkZo3MUQhiG0oAUf1PgpkUMZLt7f4FH0=";
2529

26-
nativeBuildInputs = [ pkg-config ];
30+
nativeBuildInputs = [
31+
pkg-config
32+
cmake
33+
];
2734

2835
buildInputs =
2936
[ openssl ]
@@ -54,12 +61,14 @@ rustPlatform.buildRustPackage rec {
5461
"--skip=keys::key_config::tests::test_symbolic_links"
5562
];
5663

64+
passthru.updateScript = nix-update-script { };
65+
5766
meta = {
67+
changelog = "https://github.com/extrawurst/gitui/blob/v${version}/CHANGELOG.md";
5868
description = "Blazing fast terminal-ui for Git written in Rust";
5969
homepage = "https://github.com/extrawurst/gitui";
60-
changelog = "https://github.com/extrawurst/gitui/blob/v${version}/CHANGELOG.md";
61-
mainProgram = "gitui";
6270
license = lib.licenses.mit;
71+
mainProgram = "gitui";
6372
maintainers = with lib.maintainers; [
6473
Br1ght0ne
6574
yanganto

0 commit comments

Comments
 (0)