summary refs log tree commit diff
path: root/pkgs/misc
diff options
context:
space:
mode:
authorIvarWithoutBones <ivar.scholten@protonmail.com>2020-07-22 17:30:09 +0200
committerJon <jonringer@users.noreply.github.com>2020-08-10 09:55:24 -0700
commit3f8127c68beabb920a093abadbf41ae5a85e5759 (patch)
tree5891ffcd2b13c19b03528c482db9cc6a488272a1 /pkgs/misc
parent1ae914680364df1132ddc79f92349f518704ae53 (diff)
downloadnixpkgs-3f8127c68beabb920a093abadbf41ae5a85e5759.tar
nixpkgs-3f8127c68beabb920a093abadbf41ae5a85e5759.tar.gz
nixpkgs-3f8127c68beabb920a093abadbf41ae5a85e5759.tar.bz2
nixpkgs-3f8127c68beabb920a093abadbf41ae5a85e5759.tar.lz
nixpkgs-3f8127c68beabb920a093abadbf41ae5a85e5759.tar.xz
nixpkgs-3f8127c68beabb920a093abadbf41ae5a85e5759.tar.zst
nixpkgs-3f8127c68beabb920a093abadbf41ae5a85e5759.zip
simplenes: init at unstable-2019-03-13
Diffstat (limited to 'pkgs/misc')
-rw-r--r--pkgs/misc/emulators/simplenes/default.nix33
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/misc/emulators/simplenes/default.nix b/pkgs/misc/emulators/simplenes/default.nix
new file mode 100644
index 00000000000..d4805a62d76
--- /dev/null
+++ b/pkgs/misc/emulators/simplenes/default.nix
@@ -0,0 +1,33 @@
+{ stdenv
+, fetchFromGitHub
+, cmake
+, sfml
+}:
+
+stdenv.mkDerivation rec {
+  pname = "simplenes";
+  version = "unstable-2019-03-13";
+
+  src = fetchFromGitHub {
+    owner = "amhndu";
+    repo = "SimpleNES";
+    rev = "4edb7117970c21a33b3bfe11a6606764fffc5173";
+    sha256 = "1nmwj431iwqzzcykxd4xinqmg0rm14mx7zsjyhcc5skz7pihz86g";
+  };
+
+  nativeBuildInputs = [ cmake ];
+  buildInputs = [ sfml ];
+
+  installPhase = ''
+    mkdir -p $out/bin
+    cp ./SimpleNES $out/bin
+  '';
+
+  meta = with stdenv.lib; {
+    homepage = "https://github.com/amhndu/SimpleNES";
+    description = "An NES emulator written in C++";
+    license = licenses.gpl3;
+    maintainers = with maintainers; [ ivar ];
+    platforms = platforms.linux;
+  };
+}