nixpkgs/pkgs/applications/emulators/retroarch/retroarch-assets.nix
2022-12-19 10:47:08 +00:00

33 lines
804 B
Nix

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