retroarch-assets: init at unstable-2022-10-24
This commit is contained in:
parent
76672661b9
commit
cb93ebaeec
33
pkgs/applications/emulators/retroarch/retroarch-assets.nix
Normal file
33
pkgs/applications/emulators/retroarch/retroarch-assets.nix
Normal file
|
@ -0,0 +1,33 @@
|
|||
{ lib
|
||||
, stdenvNoCC
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "retroarch-assets";
|
||||
version = "unstable-2022-10-24";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "libretro";
|
||||
repo = "retroarch-assets";
|
||||
rev = "4ec80faf1b5439d1654f407805bb66141b880826";
|
||||
hash = "sha256-j1npVKEknq7hpFr/XfST2GNHI5KnEYjZAM0dw4tMsYk=";
|
||||
};
|
||||
|
||||
makeFlags = [
|
||||
"PREFIX=$(out)"
|
||||
# By default install in $(PREFIX)/share/libretro/assets
|
||||
# that is not in RetroArch's assets path
|
||||
"INSTALLDIR=$(PREFIX)/share/retroarch/assets"
|
||||
];
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Assets needed for RetroArch";
|
||||
homepage = "https://libretro.com";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; teams.libretro.members ++ [ ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
|
@ -2195,6 +2195,8 @@ with pkgs;
|
|||
|
||||
retroarch = wrapRetroArch { retroarch = retroarchBare; };
|
||||
|
||||
retroarch-assets = callPackage ../applications/emulators/retroarch/retroarch-assets.nix { };
|
||||
|
||||
libretro = recurseIntoAttrs
|
||||
(callPackage ../applications/emulators/retroarch/cores.nix {
|
||||
retroarch = retroarchBare;
|
||||
|
|
Loading…
Reference in a new issue