7e47f3658e
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
46 lines
956 B
Nix
46 lines
956 B
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/";
|
|
|
|
|
|
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 = with maintainers; [ luc65r ];
|
|
platforms = [ "x86_64-linux" "x86_64-darwin" ];
|
|
broken = stdenv.hostPlatform.isDarwin;
|
|
};
|
|
})
|