about summary refs log tree commit diff
path: root/pkgs/misc/emulators/bsod
diff options
context:
space:
mode:
authorAntono Vasiljev <self@antono.info>2012-06-25 17:25:01 +0300
committerAntono Vasiljev <self@antono.info>2012-06-25 17:25:01 +0300
commit182f0dfe5e24ab00e12b0af39722e25abb7ec737 (patch)
treeba1b7c911b829c088e8e0eb980ba39860967da14 /pkgs/misc/emulators/bsod
parent484c13cce19c7c2894f6d63270685048e933807a (diff)
Added bsod emulator for unix
Diffstat (limited to 'pkgs/misc/emulators/bsod')
-rw-r--r--pkgs/misc/emulators/bsod/builder.sh8
-rw-r--r--pkgs/misc/emulators/bsod/default.nix28
2 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/misc/emulators/bsod/builder.sh b/pkgs/misc/emulators/bsod/builder.sh
new file mode 100644
index 0000000000000..05637db677103
--- /dev/null
+++ b/pkgs/misc/emulators/bsod/builder.sh
@@ -0,0 +1,8 @@
+source $stdenv/setup
+
+tar xvfz $src
+cd bsod-*
+make
+mkdir -p $out/bin
+cp bsod $out/bin
+
diff --git a/pkgs/misc/emulators/bsod/default.nix b/pkgs/misc/emulators/bsod/default.nix
new file mode 100644
index 0000000000000..7dd1e31b36cc3
--- /dev/null
+++ b/pkgs/misc/emulators/bsod/default.nix
@@ -0,0 +1,28 @@
+{stdenv, fetchurl, ncurses}:
+
+stdenv.mkDerivation {
+  name = "bsod-0.1";
+
+  builder = ./builder.sh;
+
+  src = fetchurl {
+    url = http://www.vanheusden.com/bsod/bsod-0.1.tgz;
+    sha256 = "0hqwacazyq5rhc04j8w8w0j0dgb6ca8k66c9lxf6bsyi6wvbhvmd";
+  };
+
+  buildInputs = [ ncurses ];
+
+  meta = {
+    description = "Blue Screen Of Death emulator for Unix";
+    longDescription = "
+      This program will let you UNIX user experience the authentic
+      microsoft windows experience.  Bsod displays the famous windows xp
+      blue screen of death on the console.  Errors and drivers causing the
+      error are selected randomly from a large set of examples.";
+    homepage = "http://www.vanheusden.com/bsod/";
+    license = "GPLv2";
+    platforms = stdenv.lib.platforms.unix;
+    maintainers = [ stdenv.lib.maintainers.antono ];
+  };
+
+}