libretro.dosbox-pure: move to retroarch/cores

This commit is contained in:
Thiago Kenji Okada 2024-11-19 13:46:29 +00:00
parent 61c780f7b8
commit 12a9521009
2 changed files with 26 additions and 10 deletions

View File

@ -137,16 +137,7 @@ lib.makeScope newScope (self: rec {
dosbox = self.callPackage ./cores/dosbox.nix { }; dosbox = self.callPackage ./cores/dosbox.nix { };
dosbox-pure = mkLibretroCore { dosbox-pure = self.callPackage ./cores/dosbox-pure.nix { };
core = "dosbox-pure";
CXXFLAGS = "-std=gnu++11";
hardeningDisable = [ "format" ];
makefile = "Makefile";
meta = {
description = "Port of DOSBox to libretro aiming for simplicity and ease of use";
license = lib.licenses.gpl2Only;
};
};
easyrpg = mkLibretroCore { easyrpg = mkLibretroCore {
core = "easyrpg"; core = "easyrpg";

View File

@ -0,0 +1,25 @@
{
lib,
fetchFromGitHub,
mkLibretroCore,
}:
mkLibretroCore {
core = "dosbox-pure";
version = "unstable-2024-09-28";
src = fetchFromGitHub {
owner = "schellingb";
repo = "dosbox-pure";
rev = "9b4147fd14332a7354c9b76fa72653bda2d919e9";
hash = "sha256-lzRBzBMIQ3X+VAHK8pl/HYELecTkdFlWJI7C1csmZ7I=";
};
hardeningDisable = [ "format" ];
makefile = "Makefile";
meta = {
description = "Port of DOSBox to libretro aiming for simplicity and ease of use";
homepage = "https://github.com/schellingb/dosbox-pure";
license = lib.licenses.gpl2Only;
};
}