Merge pull request #97794 from AndersonTorres/openmsx-upload

openmsx: 0.15.0 -> 16.0
This commit is contained in:
Anderson Torres 2020-09-12 13:48:58 -03:00 committed by GitHub
commit 28f21171d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 11 deletions

View File

@ -2,21 +2,19 @@
, python , python
, alsaLib, glew, libGL, libpng , alsaLib, glew, libGL, libpng
, libogg, libtheora, libvorbis , libogg, libtheora, libvorbis
, SDL, SDL_image, SDL_ttf , SDL2, SDL2_image, SDL2_ttf
, freetype, tcl, zlib , freetype, tcl, zlib
}: }:
with stdenv.lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "openmsx"; pname = "openmsx";
version = "0.15.0"; version = "16.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "openMSX"; owner = "openMSX";
repo = "openMSX"; repo = "openMSX";
rev = "RELEASE_0_15_0"; rev = "RELEASE_${builtins.replaceStrings ["."] ["_"] version}";
sha256 = "1lv5kdw0812mkf7k20z2djzk0pbs792xq2mibbnz9rfjf02whi7l"; sha256 = "04sphn9ph378r0qv881riv90cgz58650jcqcwmi1mv6gbcb3img5";
fetchSubmodules = true; fetchSubmodules = true;
}; };
@ -24,10 +22,10 @@ stdenv.mkDerivation rec {
buildInputs = [ alsaLib glew libGL libpng buildInputs = [ alsaLib glew libGL libpng
libogg libtheora libvorbis freetype libogg libtheora libvorbis freetype
SDL SDL_image SDL_ttf tcl zlib ]; SDL2 SDL2_image SDL2_ttf tcl zlib ];
postPatch = '' postPatch = ''
cp ${./custom-nixos.mk} build/custom.mk cp ${./custom-nix.mk} build/custom.mk
''; '';
dontAddPrefix = true; dontAddPrefix = true;
@ -36,8 +34,8 @@ stdenv.mkDerivation rec {
# for providing support to Nixpkgs :) # for providing support to Nixpkgs :)
TCL_CONFIG="${tcl}/lib/"; TCL_CONFIG="${tcl}/lib/";
meta = { meta = with stdenv.lib;{
description = "A MSX emulator"; description = "The MSX emulator that aims for perfection";
longDescription = '' longDescription = ''
OpenMSX is an emulator for the MSX home computer system. Its goal is OpenMSX is an emulator for the MSX home computer system. Its goal is
to emulate all aspects of the MSX with 100% accuracy. to emulate all aspects of the MSX with 100% accuracy.

View File

@ -27668,7 +27668,7 @@ in
snes9x-gtk = callPackage ../misc/emulators/snes9x-gtk { }; snes9x-gtk = callPackage ../misc/emulators/snes9x-gtk { };
openmsx = callPackage ../misc/emulators/openmsx { openmsx = callPackage ../misc/emulators/openmsx {
python = python27; python = python3;
}; };
higan = callPackage ../misc/emulators/higan { higan = callPackage ../misc/emulators/higan {