lazygit: format with nixfmt-rfc-style

This commit is contained in:
isabel
2024-07-13 08:37:02 +01:00
parent 5ebd80d6d2
commit 606f9e4878
+18 -7
View File
@@ -1,5 +1,10 @@
{ lib, buildGoModule, fetchFromGitHub, lazygit, testers }:
{
lib,
buildGoModule,
fetchFromGitHub,
lazygit,
testers,
}:
buildGoModule rec {
pname = "lazygit";
version = "0.42.0";
@@ -14,18 +19,24 @@ buildGoModule rec {
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";
};
}