rgbds: 0.5.1 -> 0.5.2

* rgbds: 0.5.1 -> 0.5.2 (#149232)

* rgbds: fix build on Darwin by disabling LTO

Co-authored-by: Renaud <c0bw3b@users.noreply.github.com>
This commit is contained in:
R. RyanTM 2022-01-03 02:28:52 -08:00 committed by GitHub
parent 70f42a33cb
commit ca485f4220
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,15 +2,17 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "rgbds"; pname = "rgbds";
version = "0.5.1"; version = "0.5.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "gbdev"; owner = "gbdev";
repo = "rgbds"; repo = "rgbds";
rev = "v${version}"; rev = "v${version}";
sha256 = "11b1hg2m2f60q5622rb0nxhrzzylsxjx0c8inbxifi6lvmj9ak4x"; sha256 = "sha256-/GjxdB3Nt+XuKKQWjU12mS91U4FFoeP+9t0L+HsB/o8=";
}; };
nativeBuildInputs = [ bison flex pkg-config libpng ]; nativeBuildInputs = [ bison flex pkg-config ];
installFlags = [ "PREFIX=\${out}" ]; buildInputs = [ libpng ];
NIX_CFLAGS_COMPILE = lib.optional stdenv.isDarwin "-fno-lto";
installFlags = [ "PREFIX=${placeholder "out"}" ];
meta = with lib; { meta = with lib; {
homepage = "https://rgbds.gbdev.io/"; homepage = "https://rgbds.gbdev.io/";