2021-10-01 09:20:50 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
2020-07-18 16:06:22 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "emu2";
|
2021-10-06 13:57:05 +00:00
|
|
|
version = "0.pre+unstable=2021-09-22";
|
2020-07-18 16:06:22 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2021-10-01 09:20:50 +00:00
|
|
|
owner = "dmsc";
|
|
|
|
repo = "emu2";
|
|
|
|
rev = "8d01b53f154d6bfc9561a44b9c281b46e00a4e87";
|
|
|
|
hash = "sha256-Jafl0Pw2k5RCF9GgpdAWcQ+HBTsiX7dOKSMCWPHQ+2E=";
|
2020-07-18 16:06:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-07-18 16:06:22 +00:00
|
|
|
homepage = "https://github.com/dmsc/emu2/";
|
|
|
|
description = "A simple text-mode x86 + DOS emulator";
|
|
|
|
platforms = platforms.linux;
|
2021-10-01 09:20:50 +00:00
|
|
|
maintainers = with maintainers; [ AndersonTorres ];
|
|
|
|
license = licenses.gpl2Plus;
|
2020-07-18 16:06:22 +00:00
|
|
|
};
|
|
|
|
}
|