about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJohn Titor <50095635+JohnRTitor@users.noreply.github.com>2024-05-04 11:13:27 +0530
committerJohn Titor <50095635+JohnRTitor@users.noreply.github.com>2024-05-04 12:25:26 +0530
commit26b8d7b8c867bdc138a9a09d1cf87656f4964f86 (patch)
tree4d88d0c9543366eeb5aede075b947ddb56263ef3
parent2ecb21483749270b568b68fa8f93617d0e34bd6f (diff)
swww: cleanup using nixfmt-rfc-style, use lib explicitly where required
-rw-r--r--pkgs/by-name/sw/swww/package.nix28
1 files changed, 16 insertions, 12 deletions
diff --git a/pkgs/by-name/sw/swww/package.nix b/pkgs/by-name/sw/swww/package.nix
index b5102f6e38ed6..de6889f5b1f20 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";
   };
 }