9 stdenv.mkDerivation rec {
11 version = "3.33-unstable-2024-11-22";
13 src = fetchFromGitHub {
14 owner = "georgeweigt";
16 rev = "2b68af098c0ae53ce3e1dda2d397f383e5418b34";
17 hash = "sha256-YnSNXlH8l8+2WeoiLpPuzepv/Mtxa1ltGpgcln+Emgw=";
22 emulator = stdenv.hostPlatform.emulator buildPackages;
27 for testcase in selftest1 selftest2; do
28 ${emulator} ./eigenmath "test/$testcase"
36 install -Dm555 eigenmath "$out/bin/eigenmath"
43 updateScript = unstableGitUpdater { };
47 description = "Computer algebra system written in C";
48 mainProgram = "eigenmath";
49 homepage = "https://georgeweigt.github.io";
50 license = licenses.bsd2;
51 maintainers = with maintainers; [ nickcao ];
52 platforms = platforms.unix;