diff options
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/development/tools/lazygit/default.nix')
-rw-r--r-- | infra/libkookie/nixpkgs/pkgs/development/tools/lazygit/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/development/tools/lazygit/default.nix b/infra/libkookie/nixpkgs/pkgs/development/tools/lazygit/default.nix new file mode 100644 index 000000000000..a4107ad1100d --- /dev/null +++ b/infra/libkookie/nixpkgs/pkgs/development/tools/lazygit/default.nix @@ -0,0 +1,25 @@ +{ stdenv, buildGoModule, fetchFromGitHub }: + +buildGoModule rec { + pname = "lazygit"; + version = "0.23.2"; + + src = fetchFromGitHub { + owner = "jesseduffield"; + repo = pname; + rev = "v${version}"; + sha256 = "sha256-G/oAKIG0TSEjaVi6vN2wg/apOztGLiqqYLfZy6Tmmgc="; + }; + + vendorSha256 = null; + subPackages = [ "." ]; + + buildFlagsArray = [ "-ldflags=-X main.version=${version} -X main.buildSource=nix" ]; + + meta = with stdenv.lib; { + description = "Simple terminal UI for git commands"; + homepage = "https://github.com/jesseduffield/lazygit"; + license = licenses.mit; + maintainers = with maintainers; [ fpletz equirosa filalex77 ]; + }; +} |