gdu: foramt with nixfmt
This commit is contained in:
parent
3870244788
commit
1c175dae04
|
@ -1,10 +1,11 @@
|
||||||
{ lib
|
{
|
||||||
, stdenv
|
lib,
|
||||||
, buildGoModule
|
stdenv,
|
||||||
, fetchFromGitHub
|
buildGoModule,
|
||||||
, installShellFiles
|
fetchFromGitHub,
|
||||||
, testers
|
installShellFiles,
|
||||||
, gdu
|
testers,
|
||||||
|
gdu,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
|
@ -20,9 +21,7 @@ buildGoModule rec {
|
||||||
|
|
||||||
vendorHash = "sha256-SlVJDb24txy7DPsL0cG7LeGUjngXaUQ1SusgBfgf4PE=";
|
vendorHash = "sha256-SlVJDb24txy7DPsL0cG7LeGUjngXaUQ1SusgBfgf4PE=";
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
installShellFiles
|
|
||||||
];
|
|
||||||
|
|
||||||
ldflags = [
|
ldflags = [
|
||||||
"-s"
|
"-s"
|
||||||
|
@ -41,9 +40,7 @@ buildGoModule rec {
|
||||||
|
|
||||||
doCheck = !stdenv.isDarwin;
|
doCheck = !stdenv.isDarwin;
|
||||||
|
|
||||||
passthru.tests.version = testers.testVersion {
|
passthru.tests.version = testers.testVersion { package = gdu; };
|
||||||
package = gdu;
|
|
||||||
};
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Disk usage analyzer with console interface";
|
description = "Disk usage analyzer with console interface";
|
||||||
|
@ -55,7 +52,10 @@ buildGoModule rec {
|
||||||
homepage = "https://github.com/dundee/gdu";
|
homepage = "https://github.com/dundee/gdu";
|
||||||
changelog = "https://github.com/dundee/gdu/releases/tag/v${version}";
|
changelog = "https://github.com/dundee/gdu/releases/tag/v${version}";
|
||||||
license = with licenses; [ mit ];
|
license = with licenses; [ mit ];
|
||||||
maintainers = with maintainers; [ fab zowoq ];
|
maintainers = with maintainers; [
|
||||||
|
fab
|
||||||
|
zowoq
|
||||||
|
];
|
||||||
mainProgram = "gdu";
|
mainProgram = "gdu";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user