1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00
nixpkgs/pkgs/by-name/la/lazygit/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

44 lines
914 B
Nix
Raw Permalink Normal View History

2024-07-13 08:37:02 +01:00
{
lib,
buildGoModule,
fetchFromGitHub,
lazygit,
testers,
}:
2020-09-18 12:52:57 +01:00
buildGoModule rec {
2019-06-23 18:09:11 +01:00
pname = "lazygit";
2024-09-18 14:09:24 +01:00
version = "0.44.1";
2019-06-23 18:09:11 +01:00
2018-10-11 15:17:57 +01:00
src = fetchFromGitHub {
owner = "jesseduffield";
2019-06-23 18:09:11 +01:00
repo = pname;
2018-10-11 15:17:57 +01:00
rev = "v${version}";
2024-09-18 14:09:24 +01:00
hash = "sha256-BP5PMgRq8LHLuUYDrWaX1PgfT9VEhj3xeLE2aDMAPF0=";
2018-10-11 15:17:57 +01:00
};
2023-05-04 03:33:13 +01:00
vendorHash = null;
2020-09-18 12:52:57 +01:00
subPackages = [ "." ];
2024-07-13 08:37:02 +01:00
ldflags = [
"-X main.version=${version}"
"-X main.buildSource=nix"
];
2020-09-18 12:52:57 +01:00
2024-07-13 08:37:02 +01:00
passthru.tests.version = testers.testVersion { package = lazygit; };
2023-09-18 20:58:14 +01:00
meta = with lib; {
2018-10-11 15:17:57 +01:00
description = "Simple terminal UI for git commands";
2019-06-23 18:09:11 +01:00
homepage = "https://github.com/jesseduffield/lazygit";
changelog = "https://github.com/jesseduffield/lazygit/releases/tag/v${version}";
2018-10-11 15:17:57 +01:00
license = licenses.mit;
2024-07-13 08:37:02 +01:00
maintainers = with maintainers; [
Br1ght0ne
equirosa
2024-10-24 05:52:09 +01:00
khaneliman
2024-07-13 08:37:02 +01:00
paveloom
starsep
];
2023-08-08 02:35:02 +01:00
mainProgram = "lazygit";
2018-10-11 15:17:57 +01:00
};
}