depot/third_party/nixpkgs/pkgs/applications/science/math/cemu-ti/default.nix
Default email 7e47f3658e Project import generated by Copybara.
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
2024-09-26 11:04:55 +00:00

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;
};
})