mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
openmsx: 0.15.0 -> 16.0
This commit is contained in:
parent
a39ad85726
commit
c4b869efc5
@ -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.
|
||||
|
@ -27664,7 +27664,7 @@ in
|
||||
snes9x-gtk = callPackage ../misc/emulators/snes9x-gtk { };
|
||||
|
||||
openmsx = callPackage ../misc/emulators/openmsx {
|
||||
python = python27;
|
||||
python = python3;
|
||||
};
|
||||
|
||||
higan = callPackage ../misc/emulators/higan {
|
||||
|
Loading…
Reference in New Issue
Block a user