diff options
author | Pol Dellaiera <pol.dellaiera@protonmail.com> | 2024-04-22 10:38:10 +0200 |
---|---|---|
committer | Pol Dellaiera <pol.dellaiera@protonmail.com> | 2024-04-23 21:12:57 +0200 |
commit | 63ca0c72717e58c0fb787f7ce6091e5d83154b97 (patch) | |
tree | 542fbd67bf898e9532b00ec545bf34ff88735470 | |
parent | 3433658c7df5fd3c967b6ab58d0cc7293283794a (diff) |
mathemagix: init at 11126
-rw-r--r-- | pkgs/by-name/ma/mathemagix/package.nix | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/pkgs/by-name/ma/mathemagix/package.nix b/pkgs/by-name/ma/mathemagix/package.nix new file mode 100644 index 0000000000000..5735bf8d0d644 --- /dev/null +++ b/pkgs/by-name/ma/mathemagix/package.nix @@ -0,0 +1,45 @@ +{ + stdenv, + lib, + fetchsvn, + readline, + ncurses, + bison, + libtool, + gmp, + mpfr, +}: + +stdenv.mkDerivation { + pname = "mathemagix"; + version = "11126"; + + src = fetchsvn { + url = "https://subversion.renater.fr/anonscm/svn/mmx/"; + rev = 11126; + hash = "sha256-AFnYd5oFg/wgaHPjfZmqXNljEpoFW4h6f3UG+KZauEs="; + }; + + nativeBuildInputs = [ + readline + ncurses + bison + libtool + gmp + mpfr + ]; + + preConfigure = '' + export HOME="$PWD" + ''; + + configureFlags = [ "--prefix=${placeholder "out"}" ]; + + meta = { + description = "Mathemagix is a free computer algebra and analysis system. It consists of a high level language with a compiler and a series of mathematical libraries, some of which are written in C++."; + homepage = "http://www.mathemagix.org/"; + license = lib.licenses.gpl3Only; + maintainers = with lib.maintainers; [ drupol ]; + platforms = lib.platforms.linux; + }; +} |