1{stdenv, fetchurl, ncurses}:
2
3stdenv.mkDerivation {
4 name = "bsod-0.1";
5
6 src = fetchurl {
7 url = http://www.vanheusden.com/bsod/bsod-0.1.tgz;
8 sha256 = "0hqwacazyq5rhc04j8w8w0j0dgb6ca8k66c9lxf6bsyi6wvbhvmd";
9 };
10
11 buildInputs = [ ncurses ];
12
13 installPhase = ''
14 mkdir -p $out/bin
15 cp bsod $out/bin
16 '';
17
18 meta = {
19 description = "Blue Screen Of Death emulator for Unix";
20 longDescription = "
21 This program will let you UNIX user experience the authentic
22 microsoft windows experience. Bsod displays the famous windows xp
23 blue screen of death on the console. Errors and drivers causing the
24 error are selected randomly from a large set of examples.";
25 homepage = "http://www.vanheusden.com/bsod/";
26 license = stdenv.lib.licenses.gpl2;
27 platforms = stdenv.lib.platforms.unix;
28 maintainers = [ stdenv.lib.maintainers.antono ];
29 };
30
31}