commit
8af84265a1
@ -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"}" ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user