libretro.uzem: init at 0-unstable-2026-04-20

Assisted-by: OpenAI Codex (GPT-5)
This commit is contained in:
Kieran Hannigan
2026-07-20 19:41:08 +10:00
parent 4170b86f20
commit 39e1b91feb
2 changed files with 31 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
{
lib,
fetchFromGitHub,
mkLibretroCore,
}:
mkLibretroCore rec {
core = "uzem";
version = "0-unstable-2026-04-20";
src = fetchFromGitHub {
owner = "libretro";
repo = "libretro-uzem";
rev = "d4fe82c38bf3fc789b955bcfcc81dc2e3a2ea89f";
hash = "sha256-zS2Sr/IP/kAQoXNhRH37ZfQevVKVQAKlNwlaC43dkuw=";
};
makefile = "Makefile";
makeFlags = [ "GIT_VERSION=${builtins.substring 0 7 src.rev}" ];
postPatch = ''
substituteInPlace Makefile.libretro \
--replace-fail 'GIT_VERSION := " $(shell git rev-parse --short HEAD)"' 'GIT_VERSION ?='
'';
meta = {
description = "Uzebox emulator for Libretro";
homepage = "https://github.com/libretro/libretro-uzem";
license = lib.licenses.mit;
};
}

View File

@@ -189,6 +189,8 @@ lib.makeScope newScope (self: {
twenty-fortyeight = self.callPackage ./cores/twenty-fortyeight.nix { };
uzem = self.callPackage ./cores/uzem.nix { };
vba-m = self.callPackage ./cores/vba-m.nix { };
vba-next = self.callPackage ./cores/vba-next.nix { };