unicorn-emu: enable for darwin/unix

This commit is contained in:
Robert Scott 2019-12-31 21:22:44 +00:00 committed by Austin Seipp
parent 48f461d8c3
commit 7766de0a53

View File

@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
};
configurePhase = '' patchShebangs make.sh '';
buildPhase = '' ./make.sh '';
buildPhase = '' ./make.sh '' + stdenv.lib.optionalString stdenv.isDarwin "macos-universal-no";
installPhase = '' env PREFIX=$out ./make.sh install '';
nativeBuildInputs = [ pkgconfig python ];
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
description = "Lightweight multi-platform CPU emulator library";
homepage = "http://www.unicorn-engine.org";
license = stdenv.lib.licenses.bsd3;
platforms = stdenv.lib.platforms.linux;
platforms = stdenv.lib.platforms.unix;
maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
};
}