7 stdenv.mkDerivation rec {
8 pname = "pokemon-colorscripts-mac";
9 version = "stable-2021-08-10";
11 src = fetchFromGitHub {
14 rev = "6aa0cd93b255bee35c5716652b8b7dfecb5fcfa2";
15 sha256 = "06b86qy2fpzdd81n2mscc2njkrxx0dyzxpgnm1xk6ldn17c853lc";
18 buildInputs = [ coreutils ];
21 patchShebangs ./install.sh
23 # Fix hardcoded prefixed coreutils
24 substituteInPlace pokemon-colorscripts.sh --replace greadlink readlink
25 substituteInPlace pokemon-colorscripts.sh --replace gshuf shuf
27 substituteInPlace install.sh --replace /usr/local $out
41 description = "Pokémon colorscripts for the terminal, compatible for mac";
43 Show colored sprites of pokémons in your terminal.
44 Contains almost 900 pokemon from gen 1 to gen 8.
45 Inspired by DT's colorscripts.
47 homepage = "https://github.com/nuke-dash/pokemon-colorscripts-mac";
48 license = licenses.mit;
49 maintainers = [ maintainers.wesleyjrz ];
50 platforms = platforms.unix;