about summary refs log tree commit diff
path: root/pkgs/applications/emulators/emu2/default.nix
blob: 22f2e17902e8486245c53ffbc3b6198e225b3e94 (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
{ lib
, stdenv
, fetchFromGitHub
}:

stdenv.mkDerivation rec {
  pname = "emu2";
  version = "0.pre+unstable=2021-09-22";

  src = fetchFromGitHub {
    owner = "dmsc";
    repo = "emu2";
    rev = "8d01b53f154d6bfc9561a44b9c281b46e00a4e87";
    hash = "sha256-Jafl0Pw2k5RCF9GgpdAWcQ+HBTsiX7dOKSMCWPHQ+2E=";
  };

  makeFlags = [ "PREFIX=$(out)" ];

  meta = with lib; {
    homepage = "https://github.com/dmsc/emu2/";
    description = "Simple text-mode x86 + DOS emulator";
    platforms = platforms.linux;
    maintainers = with maintainers; [ AndersonTorres ];
    license = licenses.gpl2Plus;
    mainProgram = "emu2";
  };
}