1 {lib, stdenv, fetchFromGitHub, bison, flex, pkg-config, libpng}:
3 stdenv.mkDerivation rec {
6 src = fetchFromGitHub {
10 hash = "sha256-rSPYnbZjCoAKJBNCJCKsLBenolOzS78Zm850BJ8mKhA=";
12 nativeBuildInputs = [ bison flex pkg-config ];
13 buildInputs = [ libpng ];
15 patchShebangs --host src/bison.sh
17 installFlags = [ "PREFIX=${placeholder "out"}" ];
20 homepage = "https://rgbds.gbdev.io/";
21 description = "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;