From f2d1e8350416fc56240aa02645676b70379bc1fb Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Mon, 19 Aug 2024 12:39:53 -0300 Subject: [PATCH] swayest-workstyle: adopt by AndersonTorres Also nixfmt-rfc-style and get rid of nested with --- pkgs/by-name/sw/swayest-workstyle/package.nix | 20 ++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/pkgs/by-name/sw/swayest-workstyle/package.nix b/pkgs/by-name/sw/swayest-workstyle/package.nix index 6f4490224889..19536fe03a42 100644 --- a/pkgs/by-name/sw/swayest-workstyle/package.nix +++ b/pkgs/by-name/sw/swayest-workstyle/package.nix @@ -1,6 +1,7 @@ -{ lib -, rustPlatform -, fetchFromGitHub +{ + lib, + rustPlatform, + fetchFromGitHub, }: rustPlatform.buildRustPackage rec { @@ -11,19 +12,20 @@ rustPlatform.buildRustPackage rec { owner = "Lyr-7D1h"; repo = "swayest_workstyle"; rev = version; - sha256 = "sha256-Dk6rAiz7PXUfyy9fWMtSVRjaWWl66n38gTNyWKqeqkU="; + hash = "sha256-Dk6rAiz7PXUfyy9fWMtSVRjaWWl66n38gTNyWKqeqkU="; }; cargoHash = "sha256-sLQPq3tyWq1TxxeFyg05qBt+KGI/vO0jLU7wJLiqcYA="; - doCheck = false; # No tests + # No tests + doCheck = false; - meta = with lib; { + meta = { description = "Map sway workspace names to icons defined depending on the windows inside of the workspace"; homepage = "https://github.com/Lyr-7D1h/swayest_workstyle"; - license = licenses.mit; - platforms = platforms.linux; - maintainers = with maintainers; [ ]; + license = lib.licenses.mit; mainProgram = "sworkstyle"; + maintainers = with lib.maintainers; [ AndersonTorres ]; + platforms = lib.platforms.linux; }; }