33 lines
804 B
Nix
33 lines
804 B
Nix
{ lib
|
|
, stdenvNoCC
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
pname = "retroarch-assets";
|
|
version = "unstable-2023-09-11";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "libretro";
|
|
repo = "retroarch-assets";
|
|
rev = "7b735ef18bcc6508b1c9a626eb237779ff787179";
|
|
hash = "sha256-S9wWag9fNpCTMKY8yQaF7jFuX1P5XLy/Z4vjtVDK7lg=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|