Unverified Commit fe5b4acc authored by Jörg Thalheim's avatar Jörg Thalheim Committed by GitHub
Browse files

Merge pull request #326750 from isabelroses/lazygit/update

lazygit: 0.42.0 -> 0.43.1; move to by-name; format with nixfmt-rfc-style
parents 09bff63c 5d27ab8d
Loading
Loading
Loading
Loading
+20 −9
Original line number Diff line number Diff line
{ lib, buildGoModule, fetchFromGitHub, lazygit, testers }:

{
  lib,
  buildGoModule,
  fetchFromGitHub,
  lazygit,
  testers,
}:
buildGoModule rec {
  pname = "lazygit";
  version = "0.42.0";
  version = "0.43.1";

  src = fetchFromGitHub {
    owner = "jesseduffield";
    repo = pname;
    rev = "v${version}";
    hash = "sha256-w5QL+CuMYyTTnNAfWF8jQuQWfjxaw7bANK69Dc+onGk=";
    hash = "sha256-iFx/ffaijhOqEDRW1QVzhQMvSgnS4lKFOzq1YdlkUzc=";
  };

  vendorHash = null;
  subPackages = [ "." ];

  ldflags = [ "-X main.version=${version}" "-X main.buildSource=nix" ];
  ldflags = [
    "-X main.version=${version}"
    "-X main.buildSource=nix"
  ];

  passthru.tests.version = testers.testVersion {
    package = lazygit;
  };
  passthru.tests.version = testers.testVersion { package = lazygit; };

  meta = with lib; {
    description = "Simple terminal UI for git commands";
    homepage = "https://github.com/jesseduffield/lazygit";
    changelog = "https://github.com/jesseduffield/lazygit/releases/tag/v${version}";
    license = licenses.mit;
    maintainers = with maintainers; [ Br1ght0ne equirosa paveloom starsep ];
    maintainers = with maintainers; [
      Br1ght0ne
      equirosa
      paveloom
      starsep
    ];
    mainProgram = "lazygit";
  };
}
+0 −2
Original line number Diff line number Diff line
@@ -18776,8 +18776,6 @@ with pkgs;
  kythe = callPackage ../development/tools/kythe { };
  lazygit = callPackage ../development/tools/lazygit { };
  laminar = callPackage ../development/tools/continuous-integration/laminar { };
  lcov = callPackage ../development/tools/analysis/lcov { };