diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index baaae7bb6064..62c4961e2077 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -26682,6 +26682,11 @@ githubId = 5837359; name = "Adrian Pistol"; }; + viitorags = { + name = "Vitor Gabriel"; + github = "viitorags"; + githubId = 152658654; + }; vikanezrimaya = { email = "vika@fireburn.ru"; github = "vikanezrimaya"; 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"; + }; +}