From b3556e1e06e597f915723926747df76fa13ac894 Mon Sep 17 00:00:00 2001 From: poly000 <1348292515@qq.com> Date: Fri, 13 Dec 2024 17:27:29 +0800 Subject: [PATCH] style: reformat with nixfmt --- pkgs/by-name/wa/waylyrics/package.nix | 30 +++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/pkgs/by-name/wa/waylyrics/package.nix b/pkgs/by-name/wa/waylyrics/package.nix index 4df9a1d7b98e8..5cb339592e663 100644 --- a/pkgs/by-name/wa/waylyrics/package.nix +++ b/pkgs/by-name/wa/waylyrics/package.nix @@ -1,4 +1,11 @@ -{ lib, rustPlatform, fetchFromGitHub, pkg-config, wrapGAppsHook4, openssl, dbus, +{ + lib, + rustPlatform, + fetchFromGitHub, + pkg-config, + wrapGAppsHook4, + openssl, + dbus, }: rustPlatform.buildRustPackage rec { @@ -16,8 +23,14 @@ rustPlatform.buildRustPackage rec { cargoHash = "sha256-dTyUPLwDcT2b3Kw4Q7/DyX6YfFcaOeDq6CCUpG9QUQQ="; - nativeBuildInputs = [ pkg-config wrapGAppsHook4 ]; - buildInputs = [ openssl dbus ]; + nativeBuildInputs = [ + pkg-config + wrapGAppsHook4 + ]; + buildInputs = [ + openssl + dbus + ]; checkFlags = [ "--skip=tests::lrclib_lyric::get_lrclib_lyric" # Requires network access @@ -55,9 +68,14 @@ rustPlatform.buildRustPackage rec { description = "Desktop lyrics with QQ and NetEase Music source"; mainProgram = "waylyrics"; homepage = "https://github.com/waylyrics/waylyrics"; - license = with licenses; [ mit cc-by-40 ]; - maintainers = with maintainers; [ shadowrz aleksana ]; + license = with licenses; [ + mit + cc-by-40 + ]; + maintainers = with maintainers; [ + shadowrz + aleksana + ]; platforms = platforms.linux; }; } -