Merge pull request #305952 from drupol/mathemagix/init

mathemagix: init at 11126
This commit is contained in:
Pol Dellaiera 2024-04-25 21:23:46 +02:00 committed by GitHub
commit db0621bad5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 48 additions and 0 deletions

View File

@ -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;
};
})