Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
54 lines
1.1 KiB
Nix
54 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
lazygit,
|
|
testers,
|
|
nix-update-script,
|
|
}:
|
|
buildGoModule rec {
|
|
pname = "lazygit";
|
|
version = "0.55.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jesseduffield";
|
|
repo = "lazygit";
|
|
tag = "v${version}";
|
|
hash = "sha256-UofhgILZhVXnYiGpb25m4Ct4sbu5pRmjVgj3oEf5Uyk=";
|
|
};
|
|
|
|
vendorHash = null;
|
|
subPackages = [ "." ];
|
|
|
|
ldflags = [
|
|
"-X main.version=${version}"
|
|
"-X main.buildSource=nix"
|
|
];
|
|
|
|
passthru = {
|
|
tests.version = testers.testVersion { package = lazygit; };
|
|
|
|
updateScript = nix-update-script {
|
|
extraArgs = [
|
|
"--version-regex"
|
|
"^v([0-9.]+)$"
|
|
];
|
|
};
|
|
};
|
|
|
|
meta = {
|
|
description = "Simple terminal UI for git commands";
|
|
homepage = "https://github.com/jesseduffield/lazygit";
|
|
changelog = "https://github.com/jesseduffield/lazygit/releases/tag/v${version}";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [
|
|
Br1ght0ne
|
|
equirosa
|
|
khaneliman
|
|
starsep
|
|
sigmasquadron
|
|
];
|
|
mainProgram = "lazygit";
|
|
};
|
|
}
|