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