depot/third_party/nixpkgs/pkgs/applications/emulators/retroarch/retroarch-assets.nix
Default email a3d4720129 Project import generated by Copybara.
GitOrigin-RevId: e182da8622a354d44c39b3d7a542dc12cd7baa5f
2022-12-28 22:21:41 +01: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;
};
}