2016-06-30 18:05:50 +02:00
|
|
|
{ stdenv, fetchurl
|
|
|
|
, bison, readline }:
|
|
|
|
|
2019-08-13 23:52:01 +02:00
|
|
|
stdenv.mkDerivation {
|
2016-06-30 18:05:50 +02:00
|
|
|
version = "2.2.2";
|
|
|
|
# The current version of LiE is 2.2.2, which is more or less unchanged
|
|
|
|
# since about the year 2000. Minor bugfixes do get applied now and then.
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "lie";
|
2016-06-30 18:05:50 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A Computer algebra package for Lie group computations";
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = http://wwwmathlabo.univ-poitiers.fr/~maavl/LiE/;
|
2016-06-30 18:05:50 +02:00
|
|
|
license = stdenv.lib.licenses.lgpl3; # see the website
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
LiE is a computer algebra system that is specialised in computations
|
|
|
|
involving (reductive) Lie groups and their representations. It is
|
|
|
|
publically available for free in source code. For a description of its
|
|
|
|
characteristics, we refer to the following sources of information.
|
|
|
|
''; # take from the website
|
|
|
|
|
2016-08-11 04:06:22 +02:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2016-06-30 18:05:50 +02:00
|
|
|
maintainers = [ ]; # this package is probably not going to change anyway
|
|
|
|
};
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://wwwmathlabo.univ-poitiers.fr/~maavl/LiE/conLiE.tar.gz";
|
|
|
|
sha256 = "07lbj75qqr4pq1j1qz8fyfnmrz1gnk92lnsshxycfavxl5zzdmn4";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ bison readline ];
|
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
substituteInPlace make_lie \
|
|
|
|
--replace \`/bin/pwd\` $out
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -vp $out/bin
|
|
|
|
|
|
|
|
cp -v Lie.exe $out
|
|
|
|
cp -v lie $out/bin
|
|
|
|
|
2016-07-14 14:18:57 +02:00
|
|
|
cp -v LEARN* $out
|
|
|
|
cp -v INFO* $out
|
2016-06-30 18:05:50 +02:00
|
|
|
'';
|
|
|
|
}
|