From 76447ebd9e62bd1775a2f75699bf8477fa7b09a3 Mon Sep 17 00:00:00 2001 From: hlad Date: Thu, 16 Jan 2025 19:45:48 +0100 Subject: [PATCH] libretro.vice-*: init at 0-unstable-2025-01-11 --- .../emulators/libretro/cores/vice.nix | 29 +++++++++++++++++++ .../emulators/libretro/default.nix | 20 +++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 pkgs/applications/emulators/libretro/cores/vice.nix diff --git a/pkgs/applications/emulators/libretro/cores/vice.nix b/pkgs/applications/emulators/libretro/cores/vice.nix new file mode 100644 index 000000000000..afa606a04107 --- /dev/null +++ b/pkgs/applications/emulators/libretro/cores/vice.nix @@ -0,0 +1,29 @@ +{ + lib, + fetchFromGitHub, + mkLibretroCore, + type ? "x64", +}: +mkLibretroCore { + core = "vice-${type}"; + version = "0-unstable-2025-01-11"; + + src = fetchFromGitHub { + owner = "libretro"; + repo = "vice-libretro"; + rev = "5afa33f347306f168ff0b4c54a7825895dd07b50"; + hash = "sha256-D0DSKgqZV8EluRry2qSm7qnWnvwwDWz91G66W4nF2Kk="; + }; + + makefile = "Makefile"; + + env = { + EMUTYPE = "${type}"; + }; + + meta = { + description = "Port of vice to libretro"; + homepage = "https://github.com/libretro/vice-libretro"; + license = lib.licenses.gpl2; + }; +} diff --git a/pkgs/applications/emulators/libretro/default.nix b/pkgs/applications/emulators/libretro/default.nix index 6db990141d88..7cac65848810 100644 --- a/pkgs/applications/emulators/libretro/default.nix +++ b/pkgs/applications/emulators/libretro/default.nix @@ -189,6 +189,26 @@ lib.makeScope newScope (self: { vecx = self.callPackage ./cores/vecx.nix { }; + vice-x64 = self.callPackage ./cores/vice.nix { type = "x64"; }; + + vice-x128 = self.callPackage ./cores/vice.nix { type = "x128"; }; + + vice-x64dtv = self.callPackage ./cores/vice.nix { type = "x64dtv"; }; + + vice-x64sc = self.callPackage ./cores/vice.nix { type = "x64sc"; }; + + vice-xcbm2 = self.callPackage ./cores/vice.nix { type = "xcbm2"; }; + + vice-xcbm5x0 = self.callPackage ./cores/vice.nix { type = "xcbm5x0"; }; + + vice-xpet = self.callPackage ./cores/vice.nix { type = "xpet"; }; + + vice-xplus4 = self.callPackage ./cores/vice.nix { type = "xplus4"; }; + + vice-xscpu64 = self.callPackage ./cores/vice.nix { type = "xscpu64"; }; + + vice-xvic = self.callPackage ./cores/vice.nix { type = "xvic"; }; + virtualjaguar = self.callPackage ./cores/virtualjaguar.nix { }; yabause = self.callPackage ./cores/yabause.nix { };