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
52 lines
1.0 KiB
Nix
52 lines
1.0 KiB
Nix
{
|
|
stdenv,
|
|
lib,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
pkg-config,
|
|
qt6,
|
|
libarchive,
|
|
libpng,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "CEmu";
|
|
version = "2.0";
|
|
src = fetchFromGitHub {
|
|
owner = "CE-Programming";
|
|
repo = "CEmu";
|
|
rev = "v${finalAttrs.version}";
|
|
hash = "sha256-fohsIJrvPDMmYHoPbmYQlKLMnj/B3XEBaerZYuqxvd8=";
|
|
fetchSubmodules = true;
|
|
};
|
|
|
|
sourceRoot = "${finalAttrs.src.name}/gui/qt/";
|
|
|
|
patches = [
|
|
# This is resolved upstream, but I can't apply the patch because the
|
|
# sourceRoot isn't set to the base of the Git repo.
|
|
./resolve-ambiguous-constexpr.patch
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
qt6.wrapQtAppsHook
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
qt6.qtbase
|
|
libarchive
|
|
libpng
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Third-party TI-84 Plus CE / TI-83 Premium CE emulator, focused on developer features";
|
|
mainProgram = "CEmu";
|
|
homepage = "https://ce-programming.github.io/CEmu";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = [ ];
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
})
|