asymptote: 2.92 -> 2.95 (#372084)

authored by 7c6f434c and committed by GitHub 41f12076 aafd5e39

+26 -4
+26 -4
pkgs/tools/graphics/asymptote/default.nix
··· 18 18 boehmgc, 19 19 libGLU, 20 20 libGL, 21 + libglvnd, 21 22 ncurses, 22 23 readline, 23 24 gsl, ··· 25 26 python3, 26 27 qtbase, 27 28 qtsvg, 28 - boost, 29 + boost186, 29 30 zlib, 30 31 perl, 31 32 curl, ··· 35 36 }: 36 37 37 38 stdenv.mkDerivation (finalAttrs: { 38 - version = "2.92"; 39 + version = "2.95"; 39 40 pname = "asymptote"; 40 41 41 42 outputs = [ ··· 48 49 49 50 src = fetchurl { 50 51 url = "mirror://sourceforge/asymptote/${finalAttrs.version}/asymptote-${finalAttrs.version}.src.tgz"; 51 - hash = "sha256-nZtcb6fg+848HlT+sl4tUdKMT+d5jyTHbNyugpGo6mY="; 52 + hash = "sha256-FWBP0Cy23bxbgHUp0ub8YXyCWhhN0Ne3E5DFZ66seOc="; 52 53 }; 53 54 55 + # https://github.com/vectorgraphics/asymptote/issues/513 56 + postConfigure = '' 57 + substituteInPlace Makefile \ 58 + --replace-fail 'glew.o -lGLX' 'glew.o' 59 + ''; 60 + 54 61 # override with TeX Live containers to avoid building sty, docs from source 55 62 texContainer = null; 56 63 texdocContainer = null; ··· 64 71 texinfo 65 72 wrapQtAppsHook 66 73 cmake 74 + ghostscriptX 75 + perl 67 76 pkg-config 77 + (python3.withPackages ( 78 + ps: with ps; [ 79 + click 80 + cson 81 + numpy 82 + pyqt5 83 + ] 84 + )) 68 85 ] 69 86 ++ lib.optional (finalAttrs.texContainer == null || finalAttrs.texdocContainer == null) ( 70 87 texliveSmall.withPackages ( ··· 94 111 curl 95 112 qtbase 96 113 qtsvg 97 - boost 114 + # relies on removed asio::io_service 115 + # https://github.com/kuafuwang/LspCpp/issues/52 116 + boost186 98 117 (python3.withPackages ( 99 118 ps: with ps; [ 100 119 cson ··· 112 131 libglut 113 132 libGLU 114 133 libGL 134 + libglvnd 115 135 ] 116 136 ++ lib.optionals stdenv.hostPlatform.isDarwin ( 117 137 with darwin.apple_sdk.frameworks; ··· 155 175 156 176 postInstall = '' 157 177 rm "$out"/bin/xasy 178 + chmod +x "$out"/share/asymptote/GUI/xasy.py 158 179 makeQtWrapper "$out"/share/asymptote/GUI/xasy.py "$out"/bin/xasy --prefix PATH : "$out"/bin 159 180 160 181 if [[ -z $texdocContainer ]] ; then ··· 199 220 200 221 meta = with lib; { 201 222 description = "Tool for programming graphics intended to replace Metapost"; 223 + homepage = "https://asymptote.sourceforge.io/"; 202 224 license = licenses.gpl3Plus; 203 225 maintainers = [ maintainers.raskin ]; 204 226 platforms = platforms.linux ++ platforms.darwin;