giff: init at 1.1.0

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
kpbaks
2026-04-10 17:07:27 +02:00
committed by Matthias Beyer
parent 93b719e82d
commit 7b64be3da2
+35
View File
@@ -0,0 +1,35 @@
{
lib,
rustPlatform,
fetchFromGitHub,
nix-update-script,
versionCheckHook,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "giff";
version = "1.1.0";
src = fetchFromGitHub {
owner = "bahdotsh";
repo = "giff";
tag = "v${finalAttrs.version}";
hash = "sha256-oBZp0+tAYuAcj5vNXs2phW85Y+67WnH2CJiZ7cNpWpE=";
};
cargoHash = "sha256-IjXdWp5LdxIxfj2NL1EdxGh29L8Q/ExqX8yNHFStT1M=";
nativeInstallCheckInputs = [ versionCheckHook ];
doInstallCheck = true;
passthru.updateScript = nix-update-script { };
meta = {
description = "Terminal-based Git diff viewer with interactive rebase capabilities";
homepage = "https://github.com/bahdotsh/giff";
changelog = "https://github.com/bahdotsh/giff/releases/tag/v${finalAttrs.version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ kpbaks ];
mainProgram = "giff";
};
})