Update mgba to the development version #597

Merged
darkkirb merged 1 commit from mgba-dev into main 2024-10-20 05:56:38 +00:00
5 changed files with 31 additions and 1 deletions
Showing only changes of commit 7bd020e6e8 - Show all commits

View file

@ -9,7 +9,7 @@ in {
home.packages =
[
pkgs.prismlauncher
pkgs.mgba
pkgs.mgba-dev
]
++ (
if system == "x86_64-linux"

View file

@ -280,6 +280,7 @@ rec {
plover-plugin-modal-dictionary
plover-plugin-stitching
plover-plugin-lapwing-aio
mgba-dev
;
};
perSystem = {

View file

@ -63,6 +63,7 @@ inputs: system: self: prev: let
asar-asm = self.callPackage ../packages/compiler/asar {};
bsnes-plus = self.libsForQt5.callPackage ../packages/emulator/bsnes-plus {};
yiffstash = self.python3Packages.callPackage ../packages/python/yiffstash.nix {};
mgba-dev = self.libsForQt5.callPackage ../packages/emulator/mgba-dev {};
};
perSystem = {
aarch64-linux = {

View file

@ -0,0 +1,16 @@
{
mgba,
fetchFromGitHub,
}: let
source = builtins.fromJSON (builtins.readFile ./source.json);
in
mgba.overrideAttrs (super: {
version = source.date;
src = fetchFromGitHub {
owner = "mgba-emu";
repo = "mgba";
inherit (source) rev sha256;
};
passthru.updateScript = [../../scripts/update-git.sh "https://github.com/mgba-emu/mgba" "emulator/mgba-dev/source.json"];
})

View file

@ -0,0 +1,12 @@
{
"url": "https://github.com/mgba-emu/mgba",
"rev": "afff68cfc0731c441ececa83bf43c3d8bebe5c5a",
"date": "2024-10-11T21:52:48-07:00",
"path": "/nix/store/07x809rwbmxsxbax2dbmsr0cwi8189sr-mgba",
"sha256": "1cyj4da8skk2pn9gxwc0lq0wk6pmxj3bgv4iay4b81mmgq5p84q0",
"hash": "sha256-ABN0C361BrSIV5Hst4bs9ZrJAaaA8f6SvWJOjVQj0rM=",
"fetchLFS": false,
"fetchSubmodules": false,
"deepClone": false,
"leaveDotGit": false
}