commit
b5cacced68
|
@ -0,0 +1,47 @@
|
||||||
|
{ stdenv, fetchurl
|
||||||
|
, bison, readline }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
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.
|
||||||
|
name = "LiE-${version}";
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "A Computer algebra package for Lie group computations";
|
||||||
|
homepage = "http://wwwmathlabo.univ-poitiers.fr/~maavl/LiE/";
|
||||||
|
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
|
||||||
|
|
||||||
|
platforms = stdenv.lib.platforms.unix;
|
||||||
|
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
|
||||||
|
|
||||||
|
cp -v LEARN LEARN.ind $out
|
||||||
|
cp -v INFO.ind INFO.[0-4] $out
|
||||||
|
'';
|
||||||
|
}
|
|
@ -16193,6 +16193,8 @@ in
|
||||||
|
|
||||||
openspecfun = callPackage ../development/libraries/science/math/openspecfun {};
|
openspecfun = callPackage ../development/libraries/science/math/openspecfun {};
|
||||||
|
|
||||||
|
LiE = callPackage ../applications/science/math/LiE { };
|
||||||
|
|
||||||
magma = callPackage ../development/libraries/science/math/magma { };
|
magma = callPackage ../development/libraries/science/math/magma { };
|
||||||
|
|
||||||
mathematica = callPackage ../applications/science/math/mathematica { };
|
mathematica = callPackage ../applications/science/math/mathematica { };
|
||||||
|
|
Loading…
Reference in New Issue