8 stdenv.mkDerivation rec {
10 version = "3.27-unstable-2024-10-18";
12 src = fetchFromGitHub {
13 owner = "georgeweigt";
15 rev = "a9d3be2c64a35e06691ba61fd1bf0d9b9cd5822d";
16 hash = "sha256-3t5AsUTNXnkXUfrGeGWcMwwC8kBhpSVx1ioVfKXloZA=";
19 checkPhase = let emulator = stdenv.hostPlatform.emulator buildPackages; in ''
22 for testcase in selftest1 selftest2; do
23 ${emulator} ./eigenmath "test/$testcase"
31 install -Dm555 eigenmath "$out/bin/eigenmath"
38 updateScript = unstableGitUpdater { };
42 description = "Computer algebra system written in C";
43 mainProgram = "eigenmath";
44 homepage = "https://georgeweigt.github.io";
45 license = licenses.bsd2;
46 maintainers = with maintainers; [ nickcao ];
47 platforms = platforms.unix;