Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
74 lines
1.2 KiB
Nix
74 lines
1.2 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
cairo,
|
|
cmake,
|
|
fetchFromGitHub,
|
|
ffmpeg,
|
|
gettext,
|
|
wxGTK32,
|
|
gtk3,
|
|
libGLU,
|
|
libGL,
|
|
openal,
|
|
pkg-config,
|
|
SDL2,
|
|
sfml_2,
|
|
zip,
|
|
zlib,
|
|
wrapGAppsHook3,
|
|
gsettings-desktop-schemas,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "visualboyadvance-m";
|
|
version = "2.1.11";
|
|
src = fetchFromGitHub {
|
|
owner = "visualboyadvance-m";
|
|
repo = "visualboyadvance-m";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-OtJ632H449kPRY1i4Ydlcc1tgG00Mv622KrCyJ80OF4=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
pkg-config
|
|
wrapGAppsHook3
|
|
];
|
|
|
|
buildInputs = [
|
|
cairo
|
|
ffmpeg
|
|
gettext
|
|
libGLU
|
|
libGL
|
|
openal
|
|
SDL2
|
|
sfml_2
|
|
zip
|
|
zlib
|
|
wxGTK32
|
|
gtk3
|
|
gsettings-desktop-schemas
|
|
];
|
|
|
|
cmakeFlags = [
|
|
(lib.cmakeBool "ENABLE_FFMPEG" true)
|
|
(lib.cmakeBool "ENABLE_LINK" true)
|
|
(lib.cmakeFeature "SYSCONFDIR" "etc")
|
|
(lib.cmakeBool "ENABLE_SDL" true)
|
|
];
|
|
|
|
meta = {
|
|
description = "Merge of the original Visual Boy Advance forks";
|
|
license = lib.licenses.gpl2;
|
|
maintainers = with lib.maintainers; [
|
|
lassulus
|
|
netali
|
|
];
|
|
homepage = "https://vba-m.com/";
|
|
platforms = lib.platforms.linux;
|
|
mainProgram = "visualboyadvance-m";
|
|
};
|
|
})
|