summary refs log tree commit diff
path: root/pkgs/misc/emulators/retroarch/cores.nix
diff options
context:
space:
mode:
authorlunik1 <ch.gpg@themaw.xyz>2021-04-20 01:19:36 +0100
committerlunik1 <ch.gpg@themaw.xyz>2021-04-20 18:22:04 +0100
commit4954e63a17597f4dcd75695a58613eab4b2c072b (patch)
tree94b1974dbbff281de0a43d5672e9fec103f06eb5 /pkgs/misc/emulators/retroarch/cores.nix
parent35398a3eb9cd3fb3bd9f4d887aa5f3748f398dc3 (diff)
downloadnixpkgs-4954e63a17597f4dcd75695a58613eab4b2c072b.tar
nixpkgs-4954e63a17597f4dcd75695a58613eab4b2c072b.tar.gz
nixpkgs-4954e63a17597f4dcd75695a58613eab4b2c072b.tar.bz2
nixpkgs-4954e63a17597f4dcd75695a58613eab4b2c072b.tar.lz
nixpkgs-4954e63a17597f4dcd75695a58613eab4b2c072b.tar.xz
nixpkgs-4954e63a17597f4dcd75695a58613eab4b2c072b.tar.zst
nixpkgs-4954e63a17597f4dcd75695a58613eab4b2c072b.zip
libretro: add thepowdertoy core
Diffstat (limited to 'pkgs/misc/emulators/retroarch/cores.nix')
-rw-r--r--pkgs/misc/emulators/retroarch/cores.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/pkgs/misc/emulators/retroarch/cores.nix b/pkgs/misc/emulators/retroarch/cores.nix
index 7d0ba259dc5..887e79999ca 100644
--- a/pkgs/misc/emulators/retroarch/cores.nix
+++ b/pkgs/misc/emulators/retroarch/cores.nix
@@ -1011,6 +1011,20 @@ in with lib.licenses;
     makefile = "Makefile";
   };
 
+  thepowdertoy = mkLibRetroCore rec {
+    core = "thepowdertoy";
+    src = fetchRetro {
+      repo = "ThePowderToy";
+      rev = "0ff547e89ae9d6475b0226db76832daf03eec937";
+      sha256 = "kDpmo/RPYRvROOX3AhsB5pIl0MfHbQmbyTMciLPDNew=";
+    };
+    description = "Port of The Powder Toy to libretro";
+    license = gpl3Only;
+    extraNativeBuildInputs = [ cmake ];
+    makefile = "Makefile";
+    postBuild = "cd src/";
+  };
+
   tic80 = mkLibRetroCore {
     core = "tic80";
     src = fetchRetro {