linux/hardened/patches/6.6: v6.6.73-hardened1 -> v6.6.75-hardened1
[NixPkgs.git] / pkgs / by-name / li / lie / package.nix
blobe8b15560dd07e4557b5a19e88a125b3cb1729fda
2   lib,
3   stdenv,
4   fetchurl,
5   bison,
6   readline,
7 }:
9 stdenv.mkDerivation {
10   version = "2.2.2";
11   # The current version of LiE is 2.2.2, which is more or less unchanged
12   # since about the year 2000. Minor bugfixes do get applied now and then.
13   pname = "lie";
15   meta = {
16     description = "Computer algebra package for Lie group computations";
17     mainProgram = "lie";
18     homepage = "http://wwwmathlabo.univ-poitiers.fr/~maavl/LiE/";
19     license = lib.licenses.lgpl3; # see the website
21     longDescription = ''
22       LiE is a computer algebra system that is specialised in computations
23       involving (reductive) Lie groups and their representations. It is
24       publicly available for free in source code. For a description of its
25       characteristics, we refer to the following sources of information.
26     ''; # take from the website
28     platforms = lib.platforms.linux;
29     maintainers = [ ]; # this package is probably not going to change anyway
30   };
32   src = fetchurl {
33     url = "http://wwwmathlabo.univ-poitiers.fr/~maavl/LiE/conLiE.tar.gz";
34     sha256 = "07lbj75qqr4pq1j1qz8fyfnmrz1gnk92lnsshxycfavxl5zzdmn4";
35   };
37   buildInputs = [
38     bison
39     readline
40   ];
42   patchPhase = ''
43     substituteInPlace make_lie \
44       --replace \`/bin/pwd\` $out
45   '';
47   installPhase = ''
48     mkdir -vp $out/bin
50     cp -v Lie.exe $out
51     cp -v lie $out/bin
53     cp -v LEARN* $out
54     cp -v INFO* $out
55   '';