nixpkgs/pkgs/applications/emulators/retroarch/retroarch-assets.nix
Thiago Kenji Okada cad783ebe0 retroarch-assets: unstable-2023-09-11 -> unstable-2024-01-02
Also set `passthru.updateScript = unstableGitUpdater`.
2024-02-04 18:58:11 +00:00

37 lines
872 B
Nix

{ lib
, stdenvNoCC
, fetchFromGitHub
, unstableGitUpdater
}:
stdenvNoCC.mkDerivation {
pname = "retroarch-assets";
version = "unstable-2024-01-02";
src = fetchFromGitHub {
owner = "libretro";
repo = "retroarch-assets";
rev = "923b711dc6772a168d83dc8915e9260730fcf3a1";
hash = "sha256-Hwgga2hCJEdf/j2mU+hLGAsWdYcfuzjCycxSF37I4qk=";
};
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 { };
meta = with lib; {
description = "Assets needed for RetroArch";
homepage = "https://libretro.com";
license = licenses.mit;
maintainers = with maintainers; teams.libretro.members ++ [ ];
platforms = platforms.all;
};
}