about summary refs log tree commit diff
path: root/pkgs/applications/emulators/fceux
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/fceux
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/fceux')
-rw-r--r--pkgs/applications/emulators/fceux/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/applications/emulators/fceux/default.nix b/pkgs/applications/emulators/fceux/default.nix
new file mode 100644
index 0000000000000..9289fb081f010
--- /dev/null
+++ b/pkgs/applications/emulators/fceux/default.nix
@@ -0,0 +1,24 @@
+{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, wrapQtAppsHook, SDL2, lua5_1, minizip, x264 }:
+
+stdenv.mkDerivation rec {
+  pname = "fceux";
+  version = "2.6.2";
+
+  src = fetchFromGitHub {
+    owner = "TASEmulators";
+    repo = pname;
+    rev = "${pname}-${version}";
+    sha256 = "sha256-yQX58m/sMW/8Jr5cm2SrVXTiF7qyZOgOZg1v0qEyiLw=";
+  };
+
+  nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ];
+  buildInputs = [ SDL2 lua5_1 minizip x264 ];
+
+  meta = with lib; {
+    description = "A Nintendo Entertainment System (NES) Emulator";
+    license = licenses.gpl2Plus;
+    maintainers = with maintainers; [ sbruder scubed2 ];
+    homepage = "http://www.fceux.com/";
+    platforms = platforms.linux;
+  };
+}