summary refs log blame commit diff
path: root/pkgs/applications/emulators/retroarch/retroarch-assets.nix
blob: 19022963979b27b02c1294495898c5dc4d94b5af (plain) (tree)
1
2
3
4
5
6
7
8






                             
                                  



                              

                                                                 


















                                                                  
{ 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;
  };
}