summary refs log tree commit diff
path: root/pkgs/misc/emulators/darcnes/default.nix
blob: 12c76c89790ae473e9fbc1f13c909f2249067f5c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{stdenv, fetchurl, libX11, libXt, libXext, libXaw }:

assert stdenv.system == "i686-linux";

stdenv.mkDerivation {
  name = "darcnes-9b0401";
  src = fetchurl {
    url = http://www.dridus.com/~nyef/darcnes/download/dn9b0401.tgz;
    sha256 = "05a7mh51rg7ydb414m3p5mm05p4nz2bgvspqzwm3bhbj7zz543k3";
  };

  buildInputs = [ libX11 libXt libXext libXaw ];

  installPhase = ''
    mkdir -p $out/bin
    cp darcnes $out/bin
  '';

  patches = [ ./label.patch ];

  meta = {
    homepage = http://www.dridus.com/~nyef/darcnes/;
    description = "Multi-System emulator, specially for NES";
    /* Prohibited commercial use, credit required. */
    license = stdenv.lib.licenses.free;
  };

}