summary refs log tree commit diff
path: root/pkgs/misc/gxemul
diff options
context:
space:
mode:
authorMarc Weber <marco-oweber@gmx.de>2007-09-03 12:10:57 +0000
committerMarc Weber <marco-oweber@gmx.de>2007-09-03 12:10:57 +0000
commit088a6817db9b004cd9f3c2f4ea6c9c2a72b8813b (patch)
treeb1cd0eb590a9738f3325b3968cc3530d8556104b /pkgs/misc/gxemul
parentc597a266316e93b0f172b790887572b822de904c (diff)
downloadnixlib-088a6817db9b004cd9f3c2f4ea6c9c2a72b8813b.tar
nixlib-088a6817db9b004cd9f3c2f4ea6c9c2a72b8813b.tar.gz
nixlib-088a6817db9b004cd9f3c2f4ea6c9c2a72b8813b.tar.bz2
nixlib-088a6817db9b004cd9f3c2f4ea6c9c2a72b8813b.tar.lz
nixlib-088a6817db9b004cd9f3c2f4ea6c9c2a72b8813b.tar.xz
nixlib-088a6817db9b004cd9f3c2f4ea6c9c2a72b8813b.tar.zst
nixlib-088a6817db9b004cd9f3c2f4ea6c9c2a72b8813b.zip
added:
dnsmasq, uisp, fltk libixp_for_wmii, acerhk kernel module, reiserfsprogs, radeontools, msmtp,
procmail, pstree, gxemul

changed:
umlutilities to also support building tunctl optionally (needing kernel header files)
wmii updated and wmiimenu added                                                 

svn path=/nixpkgs/trunk/; revision=9242
Diffstat (limited to 'pkgs/misc/gxemul')
-rw-r--r--pkgs/misc/gxemul/default.nix34
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/misc/gxemul/default.nix b/pkgs/misc/gxemul/default.nix
new file mode 100644
index 000000000000..e7fdc96d32ed
--- /dev/null
+++ b/pkgs/misc/gxemul/default.nix
@@ -0,0 +1,34 @@
+args: with args.lib; with args;
+let
+  name="gxemul-0.4.6";
+  co = chooseOptionsByFlags {
+    inherit args;
+    flagDescr = {
+      mandatory = { install = "ensureDir \$out/bin; cp gxemul \$out/bin;"; };
+      doc   = { install = "ensureDir \$out/share/${name}; cp -r doc \$out/share/${name};"; implies = "man"; };
+      demos = { install = "ensureDir \$out/share/${name}; cp -r demos \$out/share/${name};"; };
+      man   = { install = "cp -r ./man \$out/;";};
+    };
+    optionals = ["libX11"];
+    defaultFlags = [ "demos" "doc" ];
+  };
+in args.stdenv.mkDerivation {
+
+  inherit name;
+  inherit (co) /* flags */ buildInputs configureFlags;
+
+  src = fetchurl {
+    url = http://gavare.se/gxemul/src/gxemul-0.4.6.tar.gz;
+    sha256 = "0hf3gi6hfd2qr5090zimfiddcjgank2q6m7dfsr81wwpxfbhb2z3";
+  };
+
+  configurePhase="./configure";
+
+  installPhase = concatStrings ( catAttrs "install" co.flatOptions );
+
+  meta = {
+    license = "BSD";
+    description = "A Machine Emulator, Mainly emulates MIPS, but supports other CPU type";
+    homepage = http://gavare.se/gxemul/;
+  };
+}