diff options
author | Thiago Kenji Okada <thiagokokada@gmail.com> | 2022-12-18 13:54:29 +0000 |
---|---|---|
committer | Thiago Kenji Okada <thiagokokada@gmail.com> | 2022-12-19 10:47:08 +0000 |
commit | cb93ebaeec23e0f4814667a6e1c956bb0db08783 (patch) | |
tree | b3beaede97b1a26f54708f9e4d5b9a2a243a70c9 /pkgs/applications/emulators | |
parent | 76672661b9b8cf731e2cd87984f701937e8df655 (diff) |
retroarch-assets: init at unstable-2022-10-24
Diffstat (limited to 'pkgs/applications/emulators')
-rw-r--r-- | pkgs/applications/emulators/retroarch/retroarch-assets.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/applications/emulators/retroarch/retroarch-assets.nix b/pkgs/applications/emulators/retroarch/retroarch-assets.nix new file mode 100644 index 0000000000000..265b827577185 --- /dev/null +++ b/pkgs/applications/emulators/retroarch/retroarch-assets.nix @@ -0,0 +1,33 @@ +{ 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; + }; +} |