nixpkgs/pkgs/development/compilers/rgbds/default.nix

23 lines
618 B
Nix
Raw Normal View History

2016-03-09 05:42:22 +01:00
{stdenv, fetchFromGitHub, yacc}:
stdenv.mkDerivation rec {
name = "rgbds-${version}";
version = "0.2.4";
src = fetchFromGitHub {
owner = "bentley";
repo = "rgbds";
rev = "v${version}";
sha256 = "0dwq0p9g1lci8sm12a2rfk0g33z2vr75x78zdf1g84djwbz8ipc6";
};
nativeBuildInputs = [ yacc ];
installFlags = "PREFIX=\${out}";
meta = with stdenv.lib; {
homepage = "https://www.anjbe.name/rgbds/";
description = "An assembler/linker package that produces Game Boy programs";
license = licenses.free;
maintainers = with maintainers; [ mbauer ];
platforms = platforms.all;
};
}