gdu: foramt with nixfmt
This commit is contained in:
parent
3870244788
commit
1c175dae04
1 changed files with 14 additions and 14 deletions
|
@ -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";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue