tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
openmsx: 16.0 -> 17.0
AndersonTorres
4 years ago
35a3cbc7
1cfc98dc
+43
-16
1 changed file
expand all
collapse all
unified
split
pkgs
misc
emulators
openmsx
default.nix
+43
-16
pkgs/misc/emulators/openmsx/default.nix
···
1
1
-
{ lib, stdenv, fetchFromGitHub, pkg-config
1
1
+
{ lib
2
2
+
, stdenv
3
3
+
, fetchFromGitHub
4
4
+
, pkg-config
5
5
+
, SDL2
6
6
+
, SDL2_image
7
7
+
, SDL2_ttf
8
8
+
, alsa-lib
9
9
+
, freetype
10
10
+
, glew
11
11
+
, libGL
12
12
+
, libogg
13
13
+
, libpng
14
14
+
, libtheora
15
15
+
, libvorbis
2
16
, python
3
3
-
, alsa-lib, glew, libGL, libpng
4
4
-
, libogg, libtheora, libvorbis
5
5
-
, SDL2, SDL2_image, SDL2_ttf
6
6
-
, freetype, tcl, zlib
17
17
+
, tcl
18
18
+
, zlib
7
19
}:
8
20
9
21
stdenv.mkDerivation rec {
10
22
pname = "openmsx";
11
11
-
version = "16.0";
23
23
+
version = "17.0";
12
24
13
25
src = fetchFromGitHub {
14
26
owner = "openMSX";
15
27
repo = "openMSX";
16
28
rev = "RELEASE_${builtins.replaceStrings ["."] ["_"] version}";
17
17
-
sha256 = "04sphn9ph378r0qv881riv90cgz58650jcqcwmi1mv6gbcb3img5";
29
29
+
sha256 = "sha256-9PdUNahJZ2O6ASkzLW/uudP3hiIzTDpxzFy6Pjb8JiU=";
18
30
fetchSubmodules = true;
19
31
};
20
32
21
21
-
nativeBuildInputs = [ pkg-config python ];
33
33
+
nativeBuildInputs = [
34
34
+
pkg-config
35
35
+
python
36
36
+
];
22
37
23
23
-
buildInputs = [ alsa-lib glew libGL libpng
24
24
-
libogg libtheora libvorbis freetype
25
25
-
SDL2 SDL2_image SDL2_ttf tcl zlib ];
38
38
+
buildInputs = [
39
39
+
SDL2
40
40
+
SDL2_image
41
41
+
SDL2_ttf
42
42
+
alsa-lib
43
43
+
freetype
44
44
+
glew
45
45
+
libGL
46
46
+
libogg
47
47
+
libpng
48
48
+
libtheora
49
49
+
libvorbis
50
50
+
tcl
51
51
+
zlib
52
52
+
];
26
53
27
54
postPatch = ''
28
55
cp ${./custom-nix.mk} build/custom.mk
···
30
57
31
58
dontAddPrefix = true;
32
59
33
33
-
# Many thanks @mthuurne from OpenMSX project
34
34
-
# for providing support to Nixpkgs :)
60
60
+
# Many thanks @mthuurne from OpenMSX project for providing support to
61
61
+
# Nixpkgs! :)
35
62
TCL_CONFIG="${tcl}/lib/";
36
63
37
37
-
meta = with lib;{
64
64
+
meta = with lib; {
65
65
+
homepage = "https://openmsx.org";
38
66
description = "The MSX emulator that aims for perfection";
39
67
longDescription = ''
40
68
OpenMSX is an emulator for the MSX home computer system. Its goal is
41
69
to emulate all aspects of the MSX with 100% accuracy.
42
70
'';
43
43
-
homepage = "https://openmsx.org";
71
71
+
license = with licenses; [ bsd2 boost gpl2Plus ];
44
72
maintainers = with maintainers; [ AndersonTorres ];
45
73
platforms = platforms.unix;
46
46
-
license = with licenses; [ bsd2 boost gpl2 ];
47
74
};
48
75
}