mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
49 lines
889 B
Nix
49 lines
889 B
Nix
{
|
|
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 = "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;
|
|
};
|
|
})
|