mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-18 05:39:58 +00:00
libretro.uzem: init at 0-unstable-2026-04-20
Assisted-by: OpenAI Codex (GPT-5)
This commit is contained in:
29
pkgs/by-name/li/libretroPackages/cores/uzem.nix
Normal file
29
pkgs/by-name/li/libretroPackages/cores/uzem.nix
Normal 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;
|
||||
};
|
||||
}
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user