mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 23:54:01 +00:00
40 lines
851 B
Nix
40 lines
851 B
Nix
{
|
|
lib,
|
|
stdenvNoCC,
|
|
fetchFromGitHub,
|
|
gitUpdater,
|
|
}:
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
pname = "libretro-core-info";
|
|
version = "1.19.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "libretro";
|
|
repo = "libretro-core-info";
|
|
rev = "v${version}";
|
|
hash = "sha256-dMMX9i2xPKay6BKC52fYxElcGSllHkSZyOXX/t3l6Io=";
|
|
};
|
|
|
|
makeFlags = [
|
|
"PREFIX=$(out)"
|
|
# By default install in $(PREFIX)/share/libretro/info
|
|
# that is not in RetroArch's core info path
|
|
"INSTALLDIR=$(PREFIX)/share/retroarch/cores"
|
|
];
|
|
|
|
dontBuild = true;
|
|
|
|
passthru.updateScript = gitUpdater {
|
|
rev-prefix = "v";
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Libretro's core info files";
|
|
homepage = "https://libretro.com";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; teams.libretro.members ++ [ ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|