lsd: format with nixfmt

Signed-off-by: Ludovico Piero <lewdovico@gnuweeb.org>
This commit is contained in:
Ludovico Piero
2024-08-21 00:56:11 +09:00
parent dac90ca0f0
commit c326c7959f
+19 -15
View File
@@ -1,13 +1,13 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, rustPlatform
, installShellFiles
, darwin
, pandoc
, testers
, lsd
{
lib,
stdenv,
fetchFromGitHub,
rustPlatform,
installShellFiles,
darwin,
pandoc,
testers,
lsd,
}:
rustPlatform.buildRustPackage rec {
@@ -23,7 +23,10 @@ rustPlatform.buildRustPackage rec {
cargoHash = "sha256-R+mOpZQLY6VFfxhCSk2MZmoCRGT49knBH9k4C6Z6KuQ=";
nativeBuildInputs = [ installShellFiles pandoc ];
nativeBuildInputs = [
installShellFiles
pandoc
];
buildInputs = lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];
@@ -40,15 +43,16 @@ rustPlatform.buildRustPackage rec {
# Found argument '--test-threads' which wasn't expected, or isn't valid in this context
doCheck = false;
passthru.tests.version = testers.testVersion {
package = lsd;
};
passthru.tests.version = testers.testVersion { package = lsd; };
meta = with lib; {
homepage = "https://github.com/lsd-rs/lsd";
description = "Next gen ls command";
license = licenses.asl20;
maintainers = with maintainers; [ zowoq SuperSandro2000 ];
maintainers = with maintainers; [
zowoq
SuperSandro2000
];
mainProgram = "lsd";
};
}