tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
Gxemul: 0.4.6 -> 0.6.0.1
AndersonTorres
11 years ago
9ebba5fe
50855c7e
+50
-39
3 changed files
expand all
collapse all
unified
split
pkgs
misc
emulators
gxemul
default.nix
gxemul
default.nix
top-level
all-packages.nix
+49
pkgs/misc/emulators/gxemul/default.nix
···
1
1
+
{ stdenv, composableDerivation, fetchurl }:
2
2
+
3
3
+
let edf = composableDerivation.edf;
4
4
+
version = "0.6.0.1";
5
5
+
name = "gxemul-${version}";
6
6
+
in
7
7
+
8
8
+
composableDerivation.composableDerivation {} {
9
9
+
inherit name;
10
10
+
11
11
+
src = fetchurl {
12
12
+
url = "http://gavare.se/gxemul/src/${name}.tar.gz";
13
13
+
sha256 = "1afd9l0igyv7qgc0pn3rkdgrl5d0ywlyib0qhg4li23zilyq5407";
14
14
+
};
15
15
+
16
16
+
configurePhase = "./configure";
17
17
+
18
18
+
installPhase = "mkdir -p \$out/bin; cp gxemul \$out/bin;";
19
19
+
20
20
+
mergeAttrBy = { installPhase = a : b : "${a}\n${b}"; };
21
21
+
22
22
+
flags = {
23
23
+
doc = { installPhase = "mkdir -p \$out/share/${name}; cp -r doc \$out/share/${name};"; implies = "man"; };
24
24
+
demos = { installPhase = "mkdir -p \$out/share/${name}; cp -r demos \$out/share/${name};"; };
25
25
+
man = { installPhase = "cp -r ./man \$out/;";};
26
26
+
};
27
27
+
28
28
+
cfg = {
29
29
+
docSupport = true;
30
30
+
demosSupport = true;
31
31
+
manSupport = true;
32
32
+
};
33
33
+
34
34
+
meta = {
35
35
+
license = stdenv.lib.licenses.bsd3;
36
36
+
description = "Gavare's experimental emulator";
37
37
+
longDescription = ''
38
38
+
GXemul is a framework for full-system computer architecture
39
39
+
emulation. Several real machines have been implemented within the
40
40
+
framework, consisting of processors (ARM, MIPS, Motorola 88K,
41
41
+
PowerPC, and SuperH) and surrounding hardware components such as
42
42
+
framebuffers, interrupt controllers, busses, disk controllers,
43
43
+
and serial controllers. The emulation is working well enough to
44
44
+
allow several unmodified "guest" operating systems to run.
45
45
+
'';
46
46
+
homepage = http://gxemul.sourceforge.net/;
47
47
+
};
48
48
+
49
49
+
}
-38
pkgs/misc/gxemul/default.nix
···
1
1
-
{ stdenv, composableDerivation, fetchurl }:
2
2
-
3
3
-
let edf = composableDerivation.edf;
4
4
-
name = "gxemul-0.4.6";
5
5
-
in
6
6
-
7
7
-
composableDerivation.composableDerivation {} {
8
8
-
inherit name;
9
9
-
10
10
-
flags = {
11
11
-
doc = { installPhase = "mkdir -p \$out/share/${name}; cp -r doc \$out/share/${name};"; implies = "man"; };
12
12
-
demos = { installPhase = "mkdir -p \$out/share/${name}; cp -r demos \$out/share/${name};"; };
13
13
-
man = { installPhase = "cp -r ./man \$out/;";};
14
14
-
};
15
15
-
16
16
-
cfg = {
17
17
-
docSupport = true;
18
18
-
demosSupport = true;
19
19
-
manSupport = true;
20
20
-
};
21
21
-
22
22
-
installPhase = "mkdir -p \$out/bin; cp gxemul \$out/bin;";
23
23
-
24
24
-
src = fetchurl {
25
25
-
url = http://gavare.se/gxemul/src/gxemul-0.4.6.tar.gz;
26
26
-
sha256 = "0hf3gi6hfd2qr5090zimfiddcjgank2q6m7dfsr81wwpxfbhb2z3";
27
27
-
};
28
28
-
29
29
-
configurePhase = "./configure";
30
30
-
31
31
-
meta = {
32
32
-
license = stdenv.lib.licenses.bsd3;
33
33
-
description = "A Machine Emulator, mainly emulates MIPS, but supports other CPU types";
34
34
-
homepage = http://gxemul.sourceforge.net/;
35
35
-
};
36
36
-
37
37
-
mergeAttrBy = { installPhase = a : b : "${a}\n${b}"; };
38
38
-
}
+1
-1
pkgs/top-level/all-packages.nix
···
13710
13710
13711
13711
guix = callPackage ../tools/package-management/guix { };
13712
13712
13713
13713
-
gxemul = callPackage ../misc/gxemul { };
13713
13713
+
gxemul = callPackage ../misc/emulators/gxemul { };
13714
13714
13715
13715
hatari = callPackage ../misc/emulators/hatari { };
13716
13716