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