Add smath-studio packet

This commit is contained in:
2026-03-26 08:50:33 +01:00
parent 64392b695e
commit bdb85b6161
3 changed files with 25 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
{
appimageTools,
fetchurl,
libgdiplus,
}:
appimageTools.wrapType2 {
pname = "smath-studio";
version = "1.3.0.9126";
src = fetchurl {
url = "https://smath.com/en-US/files/Download/cqSek/SMathStudioDesktop.1_3_0_9126.x86_64.ubuntu-22_04.glibc2.35.AppImage";
sha256 = "sha256-4FpdFGPFaPDK6WWSJHVtxcC8auaNkGmHyUtbegij6cQ=";
};
extraPkgs = pkgs:
with pkgs; [
gtk2
];
profile = ''
export LD_PRELOAD="${libgdiplus}/lib/libgdiplus.so.0"
'';
}