39 lines
908 B
Nix
39 lines
908 B
Nix
{
|
|
lib,
|
|
stdenvNoCC,
|
|
fetchFromGitHub,
|
|
unstableGitUpdater,
|
|
}:
|
|
|
|
stdenvNoCC.mkDerivation {
|
|
pname = "retroarch-assets";
|
|
version = "1.19.0-unstable-2024-10-19";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "libretro";
|
|
repo = "retroarch-assets";
|
|
rev = "19d9ff76710dafa6dcb32c3e707b09a787798e26";
|
|
hash = "sha256-mT22FkfSRtPFqRatX7szPf25v84TxYXrKKh7aLuvoiA=";
|
|
};
|
|
|
|
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;
|
|
|
|
passthru.updateScript = unstableGitUpdater {
|
|
tagPrefix = "v";
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Assets needed for RetroArch";
|
|
homepage = "https://libretro.com";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; teams.libretro.members ++ [ ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|