2022-08-30 10:44:00 +02:00
|
|
|
{ stdenv
|
2021-01-25 09:26:54 +01:00
|
|
|
, lib
|
2022-08-30 10:44:00 +02:00
|
|
|
, fetchFromGitHub
|
2020-02-09 23:17:07 +01:00
|
|
|
, qmake
|
2021-01-19 07:50:56 +01:00
|
|
|
, pkg-config
|
2021-11-06 16:04:13 +01:00
|
|
|
, wrapQtAppsHook
|
2022-08-30 10:44:00 +02:00
|
|
|
, libarchive
|
|
|
|
, libpng
|
2020-02-09 23:17:07 +01:00
|
|
|
}:
|
|
|
|
|
2021-11-06 16:04:13 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2020-02-09 23:17:07 +01:00
|
|
|
pname = "CEmu";
|
2022-08-30 10:44:00 +02:00
|
|
|
version = "unstable-2022-06-29";
|
2020-02-09 23:17:07 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "CE-Programming";
|
|
|
|
repo = "CEmu";
|
2022-08-30 10:44:00 +02:00
|
|
|
rev = "880d391ba9f8b7b2ec36ab9b45a34e9ecbf744e9";
|
|
|
|
hash = "sha256-aFwGZJceh1jEP8cEajY5wYlSaFuNhYvSoZ/E1QDfJEI=";
|
2020-02-09 23:17:07 +01:00
|
|
|
fetchSubmodules = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
qmake
|
2021-11-06 16:04:13 +01:00
|
|
|
wrapQtAppsHook
|
2021-01-19 07:50:56 +01:00
|
|
|
pkg-config
|
2020-02-09 23:17:07 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
libarchive
|
2022-03-21 21:57:33 +01:00
|
|
|
libpng
|
2020-02-09 23:17:07 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
qmakeFlags = [
|
|
|
|
"gui/qt"
|
|
|
|
];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-02-09 23:17:07 +01:00
|
|
|
description = "Third-party TI-84 Plus CE / TI-83 Premium CE emulator, focused on developer features";
|
2024-03-19 03:14:51 +01:00
|
|
|
mainProgram = "CEmu";
|
2020-02-09 23:17:07 +01:00
|
|
|
homepage = "https://ce-programming.github.io/CEmu";
|
2022-10-31 00:22:01 +01:00
|
|
|
license = licenses.gpl3Plus;
|
2020-02-09 23:17:07 +01:00
|
|
|
maintainers = with maintainers; [ luc65r ];
|
|
|
|
platforms = [ "x86_64-linux" "x86_64-darwin" ];
|
2021-11-06 16:51:10 +01:00
|
|
|
broken = stdenv.isDarwin;
|
2020-02-09 23:17:07 +01:00
|
|
|
};
|
|
|
|
}
|