summary refs log tree commit diff
path: root/pkgs/applications/science/math/cemu-ti/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/science/math/cemu-ti/default.nix')
-rw-r--r--pkgs/applications/science/math/cemu-ti/default.nix45
1 files changed, 45 insertions, 0 deletions
diff --git a/pkgs/applications/science/math/cemu-ti/default.nix b/pkgs/applications/science/math/cemu-ti/default.nix
new file mode 100644
index 00000000000..426cb68b223
--- /dev/null
+++ b/pkgs/applications/science/math/cemu-ti/default.nix
@@ -0,0 +1,45 @@
+{ stdenv
+, lib
+, fetchFromGitHub
+, qmake
+, pkg-config
+, wrapQtAppsHook
+, libarchive
+, libpng
+}:
+
+stdenv.mkDerivation rec {
+  pname = "CEmu";
+  version = "unstable-2022-06-29";
+  src = fetchFromGitHub {
+    owner = "CE-Programming";
+    repo = "CEmu";
+    rev = "880d391ba9f8b7b2ec36ab9b45a34e9ecbf744e9";
+    hash = "sha256-aFwGZJceh1jEP8cEajY5wYlSaFuNhYvSoZ/E1QDfJEI=";
+    fetchSubmodules = true;
+  };
+
+  nativeBuildInputs = [
+    qmake
+    wrapQtAppsHook
+    pkg-config
+  ];
+
+  buildInputs = [
+    libarchive
+    libpng
+  ];
+
+  qmakeFlags = [
+    "gui/qt"
+  ];
+
+  meta = with lib; {
+    description = "Third-party TI-84 Plus CE / TI-83 Premium CE emulator, focused on developer features";
+    homepage = "https://ce-programming.github.io/CEmu";
+    license = licenses.gpl3;
+    maintainers = with maintainers; [ luc65r ];
+    platforms = [ "x86_64-linux" "x86_64-darwin" ];
+    broken = stdenv.isDarwin;
+  };
+}