Merge pull request #319767 from Taneb/bump-rgbds

rgbds: 0.6.1 -> 0.7.0
This commit is contained in:
Pol Dellaiera 2024-06-17 21:29:44 +02:00 committed by GitHub
commit 8af84265a1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,15 +2,18 @@
stdenv.mkDerivation rec {
pname = "rgbds";
version = "0.6.1";
version = "0.7.0";
src = fetchFromGitHub {
owner = "gbdev";
repo = "rgbds";
rev = "v${version}";
sha256 = "sha256-3mx4yymrOQnP5aJCzPWl5G96WBxt1ixU6tdzhhOsF04=";
hash = "sha256-aktKJlwXpHpjSFxoz5wZJPGWZIcn4ax5iBP0GQEux78=";
};
nativeBuildInputs = [ bison flex pkg-config ];
buildInputs = [ libpng ];
postPatch = ''
patchShebangs --host src/bison.sh
'';
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-fno-lto";
installFlags = [ "PREFIX=${placeholder "out"}" ];