Update mgba to the development version #597
5 changed files with 31 additions and 1 deletions
|
@ -9,7 +9,7 @@ in {
|
|||
home.packages =
|
||||
[
|
||||
pkgs.prismlauncher
|
||||
pkgs.mgba
|
||||
pkgs.mgba-dev
|
||||
]
|
||||
++ (
|
||||
if system == "x86_64-linux"
|
||||
|
|
|
@ -280,6 +280,7 @@ rec {
|
|||
plover-plugin-modal-dictionary
|
||||
plover-plugin-stitching
|
||||
plover-plugin-lapwing-aio
|
||||
mgba-dev
|
||||
;
|
||||
};
|
||||
perSystem = {
|
||||
|
|
|
@ -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 = {
|
||||
|
|
16
packages/emulator/mgba-dev/default.nix
Normal file
16
packages/emulator/mgba-dev/default.nix
Normal 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"];
|
||||
})
|
12
packages/emulator/mgba-dev/source.json
Normal file
12
packages/emulator/mgba-dev/source.json
Normal 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
|
||||
}
|
Loading…
Reference in a new issue