diff --git a/pkgs/by-name/gi/gitui/package.nix b/pkgs/by-name/gi/gitui/package.nix index 4eaa81d68fa87..2a36ce4292237 100644 --- a/pkgs/by-name/gi/gitui/package.nix +++ b/pkgs/by-name/gi/gitui/package.nix @@ -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