openmsx: 0.15.0 -> 16.0

+9 -11
pkgs/misc/emulators/openmsx/custom-nixos.mk pkgs/misc/emulators/openmsx/custom-nix.mk
+8 -10
pkgs/misc/emulators/openmsx/default.nix
··· 2 2 , python 3 3 , alsaLib, glew, libGL, libpng 4 4 , libogg, libtheora, libvorbis 5 - , SDL, SDL_image, SDL_ttf 5 + , SDL2, SDL2_image, SDL2_ttf 6 6 , freetype, tcl, zlib 7 7 }: 8 8 9 - with stdenv.lib; 10 9 stdenv.mkDerivation rec { 11 - 12 10 pname = "openmsx"; 13 - version = "0.15.0"; 11 + version = "16.0"; 14 12 15 13 src = fetchFromGitHub { 16 14 owner = "openMSX"; 17 15 repo = "openMSX"; 18 - rev = "RELEASE_0_15_0"; 19 - sha256 = "1lv5kdw0812mkf7k20z2djzk0pbs792xq2mibbnz9rfjf02whi7l"; 16 + rev = "RELEASE_${builtins.replaceStrings ["."] ["_"] version}"; 17 + sha256 = "04sphn9ph378r0qv881riv90cgz58650jcqcwmi1mv6gbcb3img5"; 20 18 fetchSubmodules = true; 21 19 }; 22 20 ··· 24 22 25 23 buildInputs = [ alsaLib glew libGL libpng 26 24 libogg libtheora libvorbis freetype 27 - SDL SDL_image SDL_ttf tcl zlib ]; 25 + SDL2 SDL2_image SDL2_ttf tcl zlib ]; 28 26 29 27 postPatch = '' 30 - cp ${./custom-nixos.mk} build/custom.mk 28 + cp ${./custom-nix.mk} build/custom.mk 31 29 ''; 32 30 33 31 dontAddPrefix = true; ··· 36 34 # for providing support to Nixpkgs :) 37 35 TCL_CONFIG="${tcl}/lib/"; 38 36 39 - meta = { 40 - description = "A MSX emulator"; 37 + meta = with stdenv.lib;{ 38 + description = "The MSX emulator that aims for perfection"; 41 39 longDescription = '' 42 40 OpenMSX is an emulator for the MSX home computer system. Its goal is 43 41 to emulate all aspects of the MSX with 100% accuracy.
+1 -1
pkgs/top-level/all-packages.nix
··· 27664 27664 snes9x-gtk = callPackage ../misc/emulators/snes9x-gtk { }; 27665 27665 27666 27666 openmsx = callPackage ../misc/emulators/openmsx { 27667 - python = python27; 27667 + python = python3; 27668 27668 }; 27669 27669 27670 27670 higan = callPackage ../misc/emulators/higan {