git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #7323 from AndersonTorres/gxemul

Gxemul: 0.4.6 -> 0.6.0.1

commit0d3be79490cb0475683aea0f0c5ec479effa836a authorArseniy Seroka <jagajaga@users.noreply.github.com> dateSun 12 Apr 2015, 04:22 (12 years ago) parent9d127299ebba5f
2 files changed+25−14
pkgs/misc/gxemul/default.nix → pkgs/misc/emulators/gxemul/default.nix+24−13 pkgs/top-level/all-packages.nix+1−1
pkgs/misc/gxemul/default.nix → pkgs/misc/emulators/gxemul/default.nixrenamed+24−13
@@ -1,12 +1,24 @@
11{ stdenv, composableDerivation, fetchurl }:
22
33let edf = composableDerivation.edf;
4− name = "gxemul-0.4.6";
4+ version = "0.6.0.1";
5+ name = "gxemul-${version}";
56in
67
78composableDerivation.composableDerivation {} {
89 inherit name;
9−
10+
11+ src = fetchurl {
12+ url = "http://gavare.se/gxemul/src/${name}.tar.gz";
13+ sha256 = "1afd9l0igyv7qgc0pn3rkdgrl5d0ywlyib0qhg4li23zilyq5407";
14+ };
15+
16+ configurePhase = "./configure";
17+
18+ installPhase = "mkdir -p \$out/bin; cp gxemul \$out/bin;";
19+
20+ mergeAttrBy = { installPhase = a : b : "${a}\n${b}"; };
21+
1022 flags = {
1123 doc = { installPhase = "mkdir -p \$out/share/${name}; cp -r doc \$out/share/${name};"; implies = "man"; };
1224 demos = { installPhase = "mkdir -p \$out/share/${name}; cp -r demos \$out/share/${name};"; };
@@ -19,20 +31,19 @@ composableDerivation.composableDerivation {} {
1931 manSupport = true;
2032 };
2133
22− installPhase = "mkdir -p \$out/bin; cp gxemul \$out/bin;";
23−
24− src = fetchurl {
25− url = http://gavare.se/gxemul/src/gxemul-0.4.6.tar.gz;
26− sha256 = "0hf3gi6hfd2qr5090zimfiddcjgank2q6m7dfsr81wwpxfbhb2z3";
27− };
28−
29− configurePhase = "./configure";
30−
3134 meta = {
3235 license = stdenv.lib.licenses.bsd3;
33− description = "A Machine Emulator, mainly emulates MIPS, but supports other CPU types";
36+ description = "Gavare's experimental emulator";
37+ longDescription = ''
38+ GXemul is a framework for full-system computer architecture
39+ emulation. Several real machines have been implemented within the
40+ framework, consisting of processors (ARM, MIPS, Motorola 88K,
41+ PowerPC, and SuperH) and surrounding hardware components such as
42+ framebuffers, interrupt controllers, busses, disk controllers,
43+ and serial controllers. The emulation is working well enough to
44+ allow several unmodified "guest" operating systems to run.
45+ '';
3446 homepage = http://gxemul.sourceforge.net/;
3547 };
3648
37− mergeAttrBy = { installPhase = a : b : "${a}\n${b}"; };
3849}
pkgs/top-level/all-packages.nix+1−1
@@ -13760,7 +13760,7 @@ let
1376013760
1376113761 guix = callPackage ../tools/package-management/guix { };
1376213762
13763− gxemul = callPackage ../misc/gxemul { };
13763+ gxemul = callPackage ../misc/emulators/gxemul { };
1376413764
1376513765 hatari = callPackage ../misc/emulators/hatari { };
1376613766