summary refs log tree commit diff
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
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
-rw-r--r--pkgs/misc/emulators/retroarch/cores.nix14
-rw-r--r--pkgs/top-level/all-packages.nix1
2 files changed, 15 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 {
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index e1406ca0b9e..138399913a1 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -26798,6 +26798,7 @@ in
       ++ optional (cfg.enableStella or false) stella
       ++ optional (cfg.enableStella2014 or false) stella2014
       ++ optional (cfg.enableTGBDual or false) tgbdual
+      ++ optional (cfg.enableThePowderToy or false) the-powder-toy
       ++ optional (cfg.enableTIC80 or false) tic80
       ++ optional (cfg.enableVbaNext or false) vba-next
       ++ optional (cfg.enableVbaM or false) vba-m