2020-12-06 02:11:29 +01:00
|
|
|
let version = "1.9.0";
|
2020-07-31 06:17:28 +02:00
|
|
|
in
|
|
|
|
final: prev: {
|
2020-07-31 06:13:41 +02:00
|
|
|
retroarchBare = prev.retroarchBare.overrideAttrs (o: {
|
|
|
|
inherit version;
|
2020-06-14 21:48:08 +02:00
|
|
|
|
|
|
|
src = prev.fetchFromGitHub {
|
|
|
|
owner = "libretro";
|
|
|
|
repo = "RetroArch";
|
2020-12-06 02:11:29 +01:00
|
|
|
hash = "sha256-dzPOuT+v1JtYzvAtqZ/eVWQSYQLAWX3TyS3jXdBmDdg=";
|
2020-06-14 21:48:08 +02:00
|
|
|
rev = "v${version}";
|
|
|
|
};
|
2021-01-03 08:02:28 +01:00
|
|
|
|
|
|
|
# fix darwin builds
|
|
|
|
nativeBuildInputs =
|
|
|
|
if ! prev.stdenv.isLinux then
|
|
|
|
prev.lib.filter
|
|
|
|
(drv: ! prev.lib.hasPrefix "wayland" drv.name)
|
|
|
|
o.nativeBuildInputs
|
|
|
|
else
|
|
|
|
o.nativeBuildInputs;
|
2020-06-14 21:48:08 +02:00
|
|
|
});
|
|
|
|
}
|