From 26b8d7b8c867bdc138a9a09d1cf87656f4964f86 Mon Sep 17 00:00:00 2001 From: John Titor <50095635+JohnRTitor@users.noreply.github.com> Date: Sat, 4 May 2024 11:13:27 +0530 Subject: [PATCH] swww: cleanup using nixfmt-rfc-style, use lib explicitly where required --- pkgs/by-name/sw/swww/package.nix | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/pkgs/by-name/sw/swww/package.nix b/pkgs/by-name/sw/swww/package.nix index b5102f6e38ed..de6889f5b1f2 100644 --- a/pkgs/by-name/sw/swww/package.nix +++ b/pkgs/by-name/sw/swww/package.nix @@ -1,11 +1,12 @@ -{ lib -, fetchFromGitHub -, rustPlatform -, pkg-config -, lz4 -, libxkbcommon -, installShellFiles -, scdoc +{ + lib, + fetchFromGitHub, + rustPlatform, + pkg-config, + lz4, + libxkbcommon, + installShellFiles, + scdoc, }: rustPlatform.buildRustPackage rec { @@ -52,12 +53,15 @@ rustPlatform.buildRustPackage rec { --zsh completions/_swww ''; - meta = with lib; { + meta = { description = "Efficient animated wallpaper daemon for wayland, controlled at runtime"; homepage = "https://github.com/LGFae/swww"; - license = licenses.gpl3; - maintainers = with maintainers; [ mateodd25 donovanglover ]; - platforms = platforms.linux; + license = lib.licenses.gpl3; + maintainers = with lib.maintainers; [ + mateodd25 + donovanglover + ]; + platforms = lib.platforms.linux; mainProgram = "swww"; }; }