lazygit: 0.48.0 -> 0.49.0, add update script (#398527)
This commit is contained in:
@@ -4,16 +4,17 @@
|
||||
fetchFromGitHub,
|
||||
lazygit,
|
||||
testers,
|
||||
nix-update-script,
|
||||
}:
|
||||
buildGoModule rec {
|
||||
pname = "lazygit";
|
||||
version = "0.48.0";
|
||||
version = "0.49.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jesseduffield";
|
||||
repo = pname;
|
||||
tag = "v${version}";
|
||||
hash = "sha256-L3OcCkoSJZ6skzcjP2E3BrQ39cXyxcuHGthj8RHIGeQ=";
|
||||
hash = "sha256-hNEznDz+DHalKgmz1fXFivf9T1YJ/jfwcD4baTUO4Cw=";
|
||||
};
|
||||
|
||||
vendorHash = null;
|
||||
@@ -24,7 +25,16 @@ buildGoModule rec {
|
||||
"-X main.buildSource=nix"
|
||||
];
|
||||
|
||||
passthru.tests.version = testers.testVersion { package = lazygit; };
|
||||
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";
|
||||
|
||||
Reference in New Issue
Block a user