pokemon-colorscripts: init at 0-unstable-2024-10-19 (#431000)

This commit is contained in:
Yohann Boniface
2025-08-13 05:53:19 +02:00
committed by GitHub
2 changed files with 49 additions and 0 deletions
+5
View File
@@ -26682,6 +26682,11 @@
githubId = 5837359;
name = "Adrian Pistol";
};
viitorags = {
name = "Vitor Gabriel";
github = "viitorags";
githubId = 152658654;
};
vikanezrimaya = {
email = "vika@fireburn.ru";
github = "vikanezrimaya";
@@ -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";
};
}