2023-12-10 16:16:53 -05:00
|
|
|
{
|
|
|
|
stdenv,
|
|
|
|
python3Packages,
|
2023-12-31 15:44:53 -05:00
|
|
|
pokemon-colorscripts-src,
|
|
|
|
...
|
2023-12-10 16:16:53 -05:00
|
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "pokemon-colorscripts";
|
2023-12-31 15:44:53 -05:00
|
|
|
version = pokemon-colorscripts-src.rev;
|
|
|
|
|
|
|
|
src = pokemon-colorscripts-src;
|
2023-12-10 16:16:53 -05:00
|
|
|
|
|
|
|
propagatedBuildInputs = with python3Packages; [
|
|
|
|
python
|
|
|
|
];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/pokemon-colorscripts $out/bin
|
|
|
|
|
|
|
|
cp -rf colorscripts $out/pokemon-colorscripts
|
|
|
|
cp pokemon.json $out/pokemon-colorscripts
|
|
|
|
|
|
|
|
cp pokemon-colorscripts.py $out/pokemon-colorscripts
|
|
|
|
|
|
|
|
ln -s $out/pokemon-colorscripts/pokemon-colorscripts.py $out/bin/pokemon-colorscripts
|
|
|
|
'';
|
|
|
|
}
|