gdu: foramt with nixfmt

This commit is contained in:
Fabian Affolter 2024-04-21 15:52:41 +02:00
parent 3870244788
commit 1c175dae04

View file

@ -1,10 +1,11 @@
{ lib
, stdenv
, buildGoModule
, fetchFromGitHub
, installShellFiles
, testers
, gdu
{
lib,
stdenv,
buildGoModule,
fetchFromGitHub,
installShellFiles,
testers,
gdu,
}:
buildGoModule rec {
@ -20,9 +21,7 @@ buildGoModule rec {
vendorHash = "sha256-SlVJDb24txy7DPsL0cG7LeGUjngXaUQ1SusgBfgf4PE=";
nativeBuildInputs = [
installShellFiles
];
nativeBuildInputs = [ installShellFiles ];
ldflags = [
"-s"
@ -41,9 +40,7 @@ buildGoModule rec {
doCheck = !stdenv.isDarwin;
passthru.tests.version = testers.testVersion {
package = gdu;
};
passthru.tests.version = testers.testVersion { package = gdu; };
meta = with lib; {
description = "Disk usage analyzer with console interface";
@ -55,7 +52,10 @@ buildGoModule rec {
homepage = "https://github.com/dundee/gdu";
changelog = "https://github.com/dundee/gdu/releases/tag/v${version}";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab zowoq ];
maintainers = with maintainers; [
fab
zowoq
];
mainProgram = "gdu";
};
}