Skip to content

Commit 99ebeee

Browse files
committed
gitui: refactor
1 parent ed4a395 commit 99ebeee

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

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

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,12 @@
99
xclip,
1010
darwin,
1111
}:
12-
13-
rustPlatform.buildRustPackage rec {
12+
let
1413
pname = "gitui";
1514
version = "0.26.3";
15+
in
16+
rustPlatform.buildRustPackage {
17+
inherit pname version;
1618

1719
src = fetchFromGitHub {
1820
owner = "extrawurst";
@@ -55,11 +57,11 @@ rustPlatform.buildRustPackage rec {
5557
];
5658

5759
meta = {
60+
changelog = "https://github.com/extrawurst/gitui/blob/v${version}/CHANGELOG.md";
5861
description = "Blazing fast terminal-ui for Git written in Rust";
5962
homepage = "https://github.com/extrawurst/gitui";
60-
changelog = "https://github.com/extrawurst/gitui/blob/v${version}/CHANGELOG.md";
61-
mainProgram = "gitui";
6263
license = lib.licenses.mit;
64+
mainProgram = "gitui";
6365
maintainers = with lib.maintainers; [
6466
Br1ght0ne
6567
yanganto

0 commit comments

Comments
 (0)