summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/emulators/emu2
diff options
context:
space:
mode:
authorAndersonTorres <torres.anderson.85@protonmail.com>2022-02-15 23:28:16 -0300
committerAndersonTorres <torres.anderson.85@protonmail.com>2022-02-16 01:38:20 -0300
commit8d65e832f0a18f60e2040940c80d96373ac8b88c (patch)
tree3d6ade66b2a81403e3852b80b9e7c660699b6ed6 /pkgs/applications/emulators/emu2
parent19574af0af3ffaf7c9e359744ed32556f34536bd (diff)
Move misc/emulators to applications/emulators - part 1
Emulators form a class by themselves. So, they should be moved to applications/.
Diffstat (limited to 'pkgs/applications/emulators/emu2')
-rw-r--r--pkgs/applications/emulators/emu2/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/applications/emulators/emu2/default.nix b/pkgs/applications/emulators/emu2/default.nix
new file mode 100644
index 000000000000..7949a3f2b051
--- /dev/null
+++ b/pkgs/applications/emulators/emu2/default.nix
@@ -0,0 +1,26 @@
+{ 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 = "A simple text-mode x86 + DOS emulator";
+ platforms = platforms.linux;
+ maintainers = with maintainers; [ AndersonTorres ];
+ license = licenses.gpl2Plus;
+ };
+}