Unverified Commit 7132a918 authored by 7c6f434c's avatar 7c6f434c Committed by GitHub
Browse files

asymptote: 2.95 -> 3.01 (#392887)

parents dc9b690d c97a591d
Loading
Loading
Loading
Loading
+2 −8
Original line number Diff line number Diff line
@@ -36,7 +36,7 @@
}:

stdenv.mkDerivation (finalAttrs: {
  version = "2.95";
  version = "3.01";
  pname = "asymptote";

  outputs = [
@@ -49,15 +49,9 @@ stdenv.mkDerivation (finalAttrs: {

  src = fetchurl {
    url = "mirror://sourceforge/asymptote/${finalAttrs.version}/asymptote-${finalAttrs.version}.src.tgz";
    hash = "sha256-FWBP0Cy23bxbgHUp0ub8YXyCWhhN0Ne3E5DFZ66seOc=";
    hash = "sha256-egUACsP2vwYx2uvSCZ8H/jLU9f17Siz8gFWwCNSXsIQ=";
  };

  # https://github.com/vectorgraphics/asymptote/issues/513
  postConfigure = lib.optionalString (stdenv.hostPlatform.isLinux) ''
    substituteInPlace Makefile \
      --replace-fail 'glew.o -lGLX' 'glew.o'
  '';

  # override with TeX Live containers to avoid building sty, docs from source
  texContainer = null;
  texdocContainer = null;