aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/misc/emulators/openmsx/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/misc/emulators/openmsx/default.nix')
-rw-r--r--nixpkgs/pkgs/misc/emulators/openmsx/default.nix19
1 files changed, 9 insertions, 10 deletions
diff --git a/nixpkgs/pkgs/misc/emulators/openmsx/default.nix b/nixpkgs/pkgs/misc/emulators/openmsx/default.nix
index 68b464f4d35..dc533c4f17c 100644
--- a/nixpkgs/pkgs/misc/emulators/openmsx/default.nix
+++ b/nixpkgs/pkgs/misc/emulators/openmsx/default.nix
@@ -2,21 +2,19 @@
, python
, alsaLib, glew, libGL, libpng
, libogg, libtheora, libvorbis
-, SDL, SDL_image, SDL_ttf
+, SDL2, SDL2_image, SDL2_ttf
, freetype, tcl, zlib
}:
-with stdenv.lib;
stdenv.mkDerivation rec {
-
pname = "openmsx";
- version = "0.15.0";
+ version = "16.0";
src = fetchFromGitHub {
owner = "openMSX";
repo = "openMSX";
- rev = "RELEASE_0_15_0";
- sha256 = "1lv5kdw0812mkf7k20z2djzk0pbs792xq2mibbnz9rfjf02whi7l";
+ rev = "RELEASE_${builtins.replaceStrings ["."] ["_"] version}";
+ sha256 = "04sphn9ph378r0qv881riv90cgz58650jcqcwmi1mv6gbcb3img5";
fetchSubmodules = true;
};
@@ -24,10 +22,10 @@ stdenv.mkDerivation rec {
buildInputs = [ alsaLib glew libGL libpng
libogg libtheora libvorbis freetype
- SDL SDL_image SDL_ttf tcl zlib ];
+ SDL2 SDL2_image SDL2_ttf tcl zlib ];
postPatch = ''
- cp ${./custom-nixos.mk} build/custom.mk
+ cp ${./custom-nix.mk} build/custom.mk
'';
dontAddPrefix = true;
@@ -36,8 +34,8 @@ stdenv.mkDerivation rec {
# for providing support to Nixpkgs :)
TCL_CONFIG="${tcl}/lib/";
- meta = {
- description = "A MSX emulator";
+ meta = with stdenv.lib;{
+ description = "The MSX emulator that aims for perfection";
longDescription = ''
OpenMSX is an emulator for the MSX home computer system. Its goal is
to emulate all aspects of the MSX with 100% accuracy.
@@ -45,5 +43,6 @@ stdenv.mkDerivation rec {
homepage = "https://openmsx.org";
maintainers = with maintainers; [ AndersonTorres ];
platforms = platforms.unix;
+ license = with licenses; [ bsd2 boost gpl2 ];
};
}