2024-04-22 10:38:10 +02:00
|
|
|
{
|
|
|
|
stdenv,
|
|
|
|
lib,
|
|
|
|
fetchsvn,
|
|
|
|
readline,
|
|
|
|
ncurses,
|
|
|
|
bison,
|
|
|
|
libtool,
|
|
|
|
gmp,
|
|
|
|
mpfr,
|
|
|
|
}:
|
|
|
|
|
2024-04-23 18:59:11 +02:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2024-04-22 10:38:10 +02:00
|
|
|
pname = "mathemagix";
|
2025-05-14 12:16:44 +02:00
|
|
|
version = "11229";
|
2024-04-22 10:38:10 +02:00
|
|
|
|
|
|
|
src = fetchsvn {
|
|
|
|
url = "https://subversion.renater.fr/anonscm/svn/mmx/";
|
2024-04-23 18:59:11 +02:00
|
|
|
rev = finalAttrs.version;
|
2025-05-14 12:16:44 +02:00
|
|
|
hash = "sha256-JSjgvbOjV/66wjFpLGI1vCTvNGdYX48JTGGvWdBzQm8=";
|
2024-04-22 10:38:10 +02:00
|
|
|
};
|
|
|
|
|
2024-04-23 18:59:11 +02:00
|
|
|
strictDeps = true;
|
|
|
|
|
2024-04-23 20:42:03 +02:00
|
|
|
buildInputs = [
|
2024-04-24 10:37:32 +02:00
|
|
|
gmp
|
2024-04-22 10:38:10 +02:00
|
|
|
libtool
|
2024-04-24 10:37:32 +02:00
|
|
|
mpfr
|
|
|
|
ncurses
|
|
|
|
readline
|
2024-04-23 20:42:03 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
bison
|
2024-04-22 10:38:10 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
export HOME="$PWD"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2024-04-23 20:34:10 +02:00
|
|
|
description = "Free computer algebra and analysis system consisting of a high level language with a compiler and a series of mathematical libraries";
|
2025-01-17 04:46:25 +01:00
|
|
|
homepage = "https://www.mathemagix.org/";
|
2024-04-22 10:38:10 +02:00
|
|
|
license = lib.licenses.gpl3Only;
|
|
|
|
maintainers = with lib.maintainers; [ drupol ];
|
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
};
|
2024-04-23 18:59:11 +02:00
|
|
|
})
|