swww: cleanup using nixfmt-rfc-style, use lib explicitly where required

This commit is contained in:
John Titor 2024-05-04 11:13:27 +05:30
parent 2ecb214837
commit 26b8d7b8c8
No known key found for this signature in database
GPG Key ID: 29B0514F4E3C1CC0

View File

@ -1,11 +1,12 @@
{ lib {
, fetchFromGitHub lib,
, rustPlatform fetchFromGitHub,
, pkg-config rustPlatform,
, lz4 pkg-config,
, libxkbcommon lz4,
, installShellFiles libxkbcommon,
, scdoc installShellFiles,
scdoc,
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
@ -52,12 +53,15 @@ rustPlatform.buildRustPackage rec {
--zsh completions/_swww --zsh completions/_swww
''; '';
meta = with lib; { meta = {
description = "Efficient animated wallpaper daemon for wayland, controlled at runtime"; description = "Efficient animated wallpaper daemon for wayland, controlled at runtime";
homepage = "https://github.com/LGFae/swww"; homepage = "https://github.com/LGFae/swww";
license = licenses.gpl3; license = lib.licenses.gpl3;
maintainers = with maintainers; [ mateodd25 donovanglover ]; maintainers = with lib.maintainers; [
platforms = platforms.linux; mateodd25
donovanglover
];
platforms = lib.platforms.linux;
mainProgram = "swww"; mainProgram = "swww";
}; };
} }