diff options
author | Pol Dellaiera <pol.dellaiera@protonmail.com> | 2024-04-25 21:23:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-25 21:23:46 +0200 |
commit | db0621bad589ee7f14631e25cb993ce7e681a6f3 (patch) | |
tree | a1dd4adaf6bf61f2cab1c11bb12cd01efe2b08f4 /pkgs/by-name | |
parent | 10b682b6e5ed139ee2bef863ada3043f2d79c1cc (diff) | |
parent | 647738b3277ada730224a7cbf4a2eeb95cb40de2 (diff) |
Merge pull request #305952 from drupol/mathemagix/init
mathemagix: init at 11126
Diffstat (limited to 'pkgs/by-name')
-rw-r--r-- | pkgs/by-name/ma/mathemagix/package.nix | 48 |
1 files changed, 48 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..f9c53759dfb7e --- /dev/null +++ b/pkgs/by-name/ma/mathemagix/package.nix @@ -0,0 +1,48 @@ +{ + stdenv, + lib, + fetchsvn, + readline, + ncurses, + bison, + libtool, + gmp, + mpfr, +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "mathemagix"; + version = "11126"; + + src = fetchsvn { + url = "https://subversion.renater.fr/anonscm/svn/mmx/"; + rev = finalAttrs.version; + hash = "sha256-AFnYd5oFg/wgaHPjfZmqXNljEpoFW4h6f3UG+KZauEs="; + }; + + strictDeps = true; + + buildInputs = [ + gmp + libtool + mpfr + ncurses + readline + ]; + + nativeBuildInputs = [ + bison + ]; + + preConfigure = '' + export HOME="$PWD" + ''; + + meta = { + description = "A free computer algebra and analysis system consisting of a high level language with a compiler and a series of mathematical libraries"; + homepage = "http://www.mathemagix.org/"; + license = lib.licenses.gpl3Only; + maintainers = with lib.maintainers; [ drupol ]; + platforms = lib.platforms.linux; + }; +}) |