From aaacedffa4a42b75cbc71ec677b9e24b03a55685 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Wed, 18 Sep 2024 13:50:46 -0300 Subject: [PATCH] sov: adopt and nixfmt-rfc-style --- pkgs/by-name/so/sov/package.nix | 43 ++++++++++++++++----------------- 1 file changed, 21 insertions(+), 22 deletions(-) diff --git a/pkgs/by-name/so/sov/package.nix b/pkgs/by-name/so/sov/package.nix index fcc4e3a2da73..79de58d4f33c 100644 --- a/pkgs/by-name/so/sov/package.nix +++ b/pkgs/by-name/so/sov/package.nix @@ -1,17 +1,18 @@ -{ lib -, stdenv -, fetchFromGitHub -, fetchpatch2 -, meson -, ninja -, pkg-config -, wayland-scanner -, freetype -, libglvnd -, libxkbcommon -, wayland -, wayland-protocols -, gitUpdater +{ + lib, + fetchFromGitHub, + fetchpatch2, + freetype, + gitUpdater, + libglvnd, + libxkbcommon, + meson, + ninja, + pkg-config, + stdenv, + wayland, + wayland-protocols, + wayland-scanner, }: stdenv.mkDerivation (finalAttrs: { @@ -34,11 +35,7 @@ stdenv.mkDerivation (finalAttrs: { }) ]; - strictDeps = true; - - depsBuildBuild = [ - pkg-config - ]; + depsBuildBuild = [ pkg-config ]; nativeBuildInputs = [ meson @@ -55,14 +52,16 @@ stdenv.mkDerivation (finalAttrs: { wayland-protocols ]; + strictDeps = true; + passthru.updateScript = gitUpdater { }; meta = { - description = "Workspace overview app for sway"; homepage = "https://github.com/milgra/sov"; + description = "Workspace overview app for sway"; license = lib.licenses.gpl3Only; mainProgram = "sov"; - maintainers = with lib.maintainers; [ ]; - platforms = lib.platforms.linux; + maintainers = with lib.maintainers; [ AndersonTorres ]; + inherit (wayland.meta) platforms; }; })