From 08b1863454fbdfb73d09d3af4ddadd331d940c43 Mon Sep 17 00:00:00 2001 From: viitorags Date: Fri, 30 May 2025 19:02:34 -0300 Subject: [PATCH 1/2] maintainers: Add viitorags Apply treefmt formatting and update entry per CI feedback. --- maintainers/maintainer-list.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 5c0ee2147cfe..1b19ae37c4b1 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -26636,6 +26636,11 @@ githubId = 5837359; name = "Adrian Pistol"; }; + viitorags = { + name = "Vitor Gabriel"; + github = "viitorags"; + githubId = 152658654; + }; vikanezrimaya = { email = "vika@fireburn.ru"; github = "vikanezrimaya"; From 2c8adb01de4777f376a4685ff8e8ba356519fc0b Mon Sep 17 00:00:00 2001 From: viitorags Date: Fri, 30 May 2025 17:38:48 -0300 Subject: [PATCH 2/2] pokemon-colorscripts: 0-unstable-2024-10-19 - Fix nixpkgs-vet issues (e.g., maintainers) - Apply review suggestions (SRI hash, version string, substituteInPlace, etc.) - Fix installPhase by using runHook - Update to a more recent commit --- .../po/pokemon-colorscripts/package.nix | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 pkgs/by-name/po/pokemon-colorscripts/package.nix diff --git a/pkgs/by-name/po/pokemon-colorscripts/package.nix b/pkgs/by-name/po/pokemon-colorscripts/package.nix new file mode 100644 index 000000000000..635734fdda2e --- /dev/null +++ b/pkgs/by-name/po/pokemon-colorscripts/package.nix @@ -0,0 +1,44 @@ +{ + stdenv, + fetchFromGitLab, + lib, + python3, +}: + +stdenv.mkDerivation { + pname = "pokemon-colorscripts"; + version = "0-unstable-2024-10-19"; + + src = fetchFromGitLab { + owner = "phoneybadger"; + repo = "pokemon-colorscripts"; + rev = "5802ff67520be2ff6117a0abc78a08501f6252ad"; + hash = "sha256-gKVmpHKt7S2XhSxLDzbIHTjJMoiIk69Fch202FZffqU="; + }; + + buildInputs = [ + python3 + ]; + + postPatch = '' + patchShebangs --build ./install.sh + substituteInPlace install.sh --replace-fail "/usr/local" "$out" + ''; + + installPhase = '' + runHook preInstall + + mkdir -p "$out/bin" + ./install.sh + + runHook postInstall + ''; + + meta = { + description = "Scripts for Pokémon color manipulation"; + homepage = "https://gitlab.com/phoneybadger/pokemon-colorscripts"; + license = lib.licenses.mit; + maintainers = [ lib.maintainers.viitorags ]; + mainProgram = "pokemon-colorscripts"; + }; +}