Fix broken license references.

This commit is contained in:
Peter Simons
2014-07-28 11:43:20 +02:00
parent ad934ccc22
commit d0ca8c237e
38 changed files with 80 additions and 77 deletions
+10 -9
View File
@@ -1,10 +1,10 @@
x@{builderDefsPackage
, pari ? null
, pari ? null
, ...}:
builderDefsPackage
(a :
let
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
(a :
let
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
[];
buildInputs = map (n: builtins.getAttr n x)
@@ -44,14 +44,14 @@ rec {
tar xf "${pkgSrc}" -C "$out/share/gap/build-dir/pkg"
${if a.pari != null then
''sed -e '2iexport PATH=$PATH:${pari}/bin' -i "$out/share/gap/build-dir/bin/gap.sh" ''
${if a.pari != null then
''sed -e '2iexport PATH=$PATH:${pari}/bin' -i "$out/share/gap/build-dir/bin/gap.sh" ''
else ""}
sed -e "/GAP_DIR=/aGAP_DIR='$out/share/gap/build-dir/'" -i "$out/share/gap/build-dir/bin/gap.sh"
sed -e "/GAP_DIR=/aGAP_DIR='$out/share/gap/build-dir/'" -i "$out/share/gap/build-dir/bin/gap.sh"
ln -s "$out/share/gap/build-dir/bin/gap.sh" "$out/bin"
'' ["doMake" "minInit" "defEnsureDir"];
meta = {
description = "Computational discrete algebra system";
maintainers = with a.lib.maintainers;
@@ -60,7 +60,8 @@ rec {
];
platforms = with a.lib.platforms;
linux;
license = stdenv.lib.licenses.gpl2;
license = with a.lib.licenses;
gpl2;
homepage = "http://gap-system.org/";
};
}) x