mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 11:53:27 +00:00
cad783ebe0
Also set `passthru.updateScript = unstableGitUpdater`.
37 lines
872 B
Nix
37 lines
872 B
Nix
{ lib
|
|
, stdenvNoCC
|
|
, fetchFromGitHub
|
|
, unstableGitUpdater
|
|
}:
|
|
|
|
stdenvNoCC.mkDerivation {
|
|
pname = "retroarch-assets";
|
|
version = "unstable-2024-01-02";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "libretro";
|
|
repo = "retroarch-assets";
|
|
rev = "923b711dc6772a168d83dc8915e9260730fcf3a1";
|
|
hash = "sha256-Hwgga2hCJEdf/j2mU+hLGAsWdYcfuzjCycxSF37I4qk=";
|
|
};
|
|
|
|
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;
|
|
|
|
passthru.updateScript = unstableGitUpdater { };
|
|
|
|
meta = with lib; {
|
|
description = "Assets needed for RetroArch";
|
|
homepage = "https://libretro.com";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; teams.libretro.members ++ [ ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|