numworks-epsilon: 15.3.2 -> 15.5.0 (#122760)

Co-authored-by: erikbackman <erikbackman@users.noreply.github.com>
wip/little-gl
Erik Bäckman 3 years ago committed by GitHub
parent ba1ab15384
commit 5b143ccc91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 12
      pkgs/applications/science/math/numworks-epsilon/0001-ion-linux-makerules.patch
  2. 16
      pkgs/applications/science/math/numworks-epsilon/default.nix

@ -0,0 +1,12 @@
diff --git a/ion/src/simulator/linux/Makefile b/ion/src/simulator/linux/Makefile
index ca7da03fa..b05bba115 100644
--- a/ion/src/simulator/linux/Makefile
+++ b/ion/src/simulator/linux/Makefile
@@ -28,7 +28,6 @@ ion_src += $(addprefix ion/src/simulator/shared/, \
collect_registers.cpp \
haptics.cpp \
journal.cpp \
- platform_action_modifier_ctrl.cpp \
state_file.cpp \
)

@ -2,6 +2,8 @@
, lib
, fetchFromGitHub
, libpng
, libjpeg
, freetype
, xorg
, python3
, imagemagick
@ -11,18 +13,20 @@
stdenv.mkDerivation rec {
pname = "numworks-epsilon";
version = "15.3.2";
version = "15.5.0";
src = fetchFromGitHub {
owner = "numworks";
repo = "epsilon";
rev = version;
sha256 = "1q34dilyypiggjs16486jm122yf20wcigqxvspc77ig9albaxgh5";
sha256 = "fPBO3FzZ4k5OxG+Ifc6R/au4Te974HNKAEdHz+aFdSg=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [
libpng
libjpeg
freetype
xorg.libXext
python3
imagemagick
@ -33,6 +37,12 @@ stdenv.mkDerivation rec {
"PLATFORM=simulator"
];
patches = [
# Remove make rule Introduced in cba596dde7
# which causes it to not build with nix
./0001-ion-linux-makerules.patch
];
installPhase = ''
runHook preInstall
@ -44,7 +54,7 @@ stdenv.mkDerivation rec {
'';
meta = with lib; {
description = "Emulator for Epsilon, a High-performance graphing calculator operating system";
description = "Simulator for Epsilon, a High-performance graphing calculator operating system";
homepage = "https://numworks.com/";
license = licenses.cc-by-nc-sa-40;
maintainers = with maintainers; [ erikbackman ];

Loading…
Cancel
Save