git.iko.soy/typeable/nixpkgs
on master help sign in
libgap, gap-libgap-compatible: remove

They were only used by sage, which now (since version 8.6) uses gaps own (new) libgap.

commit471ba670137780c9eb0a58abd99bfaa8b007cfe1 authorTimo Kaufmann <timokau@zoho.com> dateThu 17 Jan 2019, 18:05 (8 years ago) parente379ee6
1 file changed−41
pkgs/top-level/all-packages.nix−41
pkgs/top-level/all-packages.nix−41
@@ -10822,47 +10822,6 @@ in
1082210822
1082310823 libgadu = callPackage ../development/libraries/libgadu { };
1082410824
10825− # Deprecated since gap itself now ships with a library component. This is
10826− # still necessary for sage 8.5 but will be removed once we switch to sage
10827− # 8.6.
10828− gap-libgap-compatible = let
10829− version = "4r8p6";
10830− pkgVer = "2016_11_12-14_25";
10831− in
10832− (gap.override { packageSet = "minimal"; }).overrideAttrs (oldAttrs: {
10833− name = "libgap-${oldAttrs.pname}-${version}";
10834− inherit version;
10835− src = fetchurl {
10836− url = "https://www.gap-system.org/pub/gap/gap48/tar.bz2/gap${version}_${pkgVer}.tar.bz2";
10837− sha256 = "19n2p1mdg33s2x9rs51iak7rgndc1cwr56jyqnah0g1ydgg1yh6b";
10838− };
10839− # libgap targets not yet available for 4r8p6
10840− installPhase = ''
10841− mkdir -p "$out/bin" "$out/share/gap/"
10842−
10843− mkdir -p "$out/share/gap"
10844− echo "Copying files to target directory"
10845− cp -ar . "$out/share/gap/build-dir"
10846−
10847− makeWrapper "$out/share/gap/build-dir/bin/gap.sh" "$out/bin/gap" \
10848− --set GAP_DIR $out/share/gap/build-dir
10849− '';
10850− patches = [
10851− # don't install any packages by default (needed for interop with libgap, probably obsolete with 4r10
10852− (fetchpatch {
10853− url = "https://git.sagemath.org/sage.git/plain/build/pkgs/gap/patches/nodefaultpackages.patch?id=07d6c37d18811e2b377a9689790a7c5e24da16ba";
10854− sha256 = "1xwj766m3axrxbkyx13hy3q8s2wkqxy3m6mgpwq3c3n4vk3v416v";
10855− })
10856−
10857− # fix infinite loop in writeandcheck() when writing an error message fails.
10858− (fetchpatch {
10859− url = "https://git.sagemath.org/sage.git/plain/build/pkgs/gap/patches/writeandcheck.patch?id=07d6c37d18811e2b377a9689790a7c5e24da16ba";
10860− sha256 = "1r1511x4kc2i2mbdq1b61rb6p3misvkf1v5qy3z6fmn6vqwziaz1";
10861− })
10862− ];
10863− });
10864− libgap = callPackage ../development/libraries/libgap { };
10865−
1086610825 libgda = callPackage ../development/libraries/libgda { };
1086710826
1086810827 libgdamm = callPackage ../development/libraries/libgdamm { };