1 {lib, stdenv, fetchFromGitHub, bison, flex, pkg-config, libpng}:
3 # TODO: byacc is the recommended parser generator but due to https://github.com/rednex/rgbds/issues/333
4 # it does not work for the moment. We should switch back to byacc as soon as the fix is integrated
5 # in a published version.
7 stdenv.mkDerivation rec {
10 src = fetchFromGitHub {
14 sha256 = "0lygj7jzjlq4w0mkiir7ycysrd1p1akyvzrppjcchja05mi8wy9p";
16 nativeBuildInputs = [ bison flex pkg-config libpng ];
17 installFlags = [ "PREFIX=\${out}" ];
20 homepage = "https://rednex.github.io/rgbds/";
21 description = "A free assembler/linker package for the Game Boy and Game Boy Color";
22 license = licenses.mit;
24 ''RGBDS (Rednex Game Boy Development System) is a free assembler/linker package for the Game Boy and Game Boy Color. It consists of:
28 - rgbfix (checksum/header fixer)
29 - rgbgfx (PNG‐to‐Game Boy graphics converter)
31 This is a fork of the original RGBDS which aims to make the programs more like other UNIX tools.
33 maintainers = with maintainers; [ matthewbauer NieDzejkob ];
34 platforms = platforms.all;