nixpkgs/pkgs/by-name/ma/mathemagix/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

49 lines
889 B
Nix
Raw Normal View History

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