From 29d256b3d3b1b37b9984155004ad576a41439e3c Mon Sep 17 00:00:00 2001 From: Matteo Pacini Date: Sat, 29 Jun 2024 13:30:07 +0100 Subject: [PATCH 1/4] opensupaplex: add maintainer --- pkgs/games/opensupaplex/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/games/opensupaplex/default.nix b/pkgs/games/opensupaplex/default.nix index 107fc10cbe06..212f00397f7b 100644 --- a/pkgs/games/opensupaplex/default.nix +++ b/pkgs/games/opensupaplex/default.nix @@ -77,13 +77,13 @@ stdenv.mkDerivation rec { categories = [ "Application" "Game" ]; })]; - meta = with lib; { + meta = { description = "A decompilation of Supaplex in C and SDL"; homepage = "https://github.com/sergiou87/open-supaplex"; changelog = "https://github.com/sergiou87/open-supaplex/blob/master/changelog/v${version}.txt"; - license = licenses.gpl3Only; - maintainers = [ ]; - platforms = platforms.linux; # Many more are supported upstream, but only linux is tested. + license = lib.licenses.gpl3Only; + maintainers = with lib.maintainers; [ matteopacini ]; + platforms = lib.platforms.linux; # Many more are supported upstream, but only linux is tested. mainProgram = "opensupaplex"; }; } From d90e42461731d4c82f56d2197320a97899a554e3 Mon Sep 17 00:00:00 2001 From: Matteo Pacini Date: Sat, 29 Jun 2024 13:30:39 +0100 Subject: [PATCH 2/4] opensupaplex: nixfmt-rfc-style --- pkgs/games/opensupaplex/default.nix | 42 ++++++++++++++++------------- 1 file changed, 24 insertions(+), 18 deletions(-) diff --git a/pkgs/games/opensupaplex/default.nix b/pkgs/games/opensupaplex/default.nix index 212f00397f7b..66a2079282ce 100644 --- a/pkgs/games/opensupaplex/default.nix +++ b/pkgs/games/opensupaplex/default.nix @@ -1,13 +1,14 @@ -{ lib -, stdenv -, fetchFromGitHub -, fetchurl -, makeDesktopItem -, copyDesktopItems -, testers -, opensupaplex -, SDL2 -, SDL2_mixer +{ + lib, + stdenv, + fetchFromGitHub, + fetchurl, + makeDesktopItem, + copyDesktopItems, + testers, + opensupaplex, + SDL2, + SDL2_mixer, }: let @@ -68,14 +69,19 @@ stdenv.mkDerivation rec { version = "v${version}"; }; - desktopItems = [(makeDesktopItem { - name = "opensupaplex"; - exec = meta.mainProgram; - icon = "open-supaplex"; - desktopName = "OpenSupaplex"; - comment = meta.description; - categories = [ "Application" "Game" ]; - })]; + desktopItems = [ + (makeDesktopItem { + name = "opensupaplex"; + exec = meta.mainProgram; + icon = "open-supaplex"; + desktopName = "OpenSupaplex"; + comment = meta.description; + categories = [ + "Application" + "Game" + ]; + }) + ]; meta = { description = "A decompilation of Supaplex in C and SDL"; From 7bd5ad7c18f45e49bb7d4d4b4da26c18cb05bde5 Mon Sep 17 00:00:00 2001 From: Matteo Pacini Date: Sat, 29 Jun 2024 13:31:18 +0100 Subject: [PATCH 3/4] swiftbar: add maintainer --- pkgs/os-specific/darwin/swiftbar/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/os-specific/darwin/swiftbar/default.nix b/pkgs/os-specific/darwin/swiftbar/default.nix index e9c45b7f9e07..526855a3fa5c 100644 --- a/pkgs/os-specific/darwin/swiftbar/default.nix +++ b/pkgs/os-specific/darwin/swiftbar/default.nix @@ -41,6 +41,6 @@ stdenvNoCC.mkDerivation rec { license = licenses.mit; platforms = platforms.darwin; sourceProvenance = with sourceTypes; [ binaryNativeCode ]; - maintainers = with maintainers; [ ]; + maintainers = with maintainers; [ matteopacini ]; }; } From 08c8a27a485aab709c52e06d45f4ac5c7ab4e171 Mon Sep 17 00:00:00 2001 From: Matteo Pacini Date: Sat, 29 Jun 2024 13:31:36 +0100 Subject: [PATCH 4/4] swiftbar: nixfmt-rfc-style --- pkgs/os-specific/darwin/swiftbar/default.nix | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/pkgs/os-specific/darwin/swiftbar/default.nix b/pkgs/os-specific/darwin/swiftbar/default.nix index 526855a3fa5c..4a12dc2dfea7 100644 --- a/pkgs/os-specific/darwin/swiftbar/default.nix +++ b/pkgs/os-specific/darwin/swiftbar/default.nix @@ -1,7 +1,8 @@ -{ lib -, fetchzip -, stdenvNoCC -, makeWrapper +{ + lib, + fetchzip, + stdenvNoCC, + makeWrapper, }: stdenvNoCC.mkDerivation rec { @@ -17,9 +18,7 @@ stdenvNoCC.mkDerivation rec { dontConfigure = true; dontBuild = true; - nativeBuildInputs = [ - makeWrapper - ]; + nativeBuildInputs = [ makeWrapper ]; installPhase = '' runHook preInstall