Asymptote: 2.67 -> 2.83

This commit is contained in:
Chris Pattison 2022-10-22 16:40:31 -07:00
parent 8ac43eab7f
commit 4a2abb6b6d
2 changed files with 3 additions and 12 deletions

View File

@ -9,24 +9,16 @@
}:
stdenv.mkDerivation rec {
version = "2.67";
version = "2.83";
pname = "asymptote";
src = fetchFromGitHub {
owner = "vectorgraphics";
repo = pname;
rev = version;
hash = "sha256-dMgsKBg6YQ3mdx3jFqjX4vZeizaier8+ZQUl4J6QXNE=";
hash = "sha256-Kz1uh3fMbADd39seunfL5O2Q31VLGKhu/ZuKi9/kuEc=";
};
patches =
(lib.optional (lib.versionOlder version "2.68")
(fetchpatch {
url = "https://github.com/vectorgraphics/asymptote/commit/3361214340d58235f4dbb8f24017d0cd5d94da72.patch";
hash = "sha256-1RYMZcwbjBAM7aAXFBbwst0eozWYFtJ8HcicjXogS/w=";
}))
;
nativeBuildInputs = [
autoreconfHook
bison
@ -80,7 +72,6 @@ stdenv.mkDerivation rec {
description = "A tool for programming graphics intended to replace Metapost";
license = licenses.gpl3Plus;
maintainers = [ maintainers.raskin ];
broken = stdenv.isDarwin; # https://github.com/vectorgraphics/asymptote/issues/69
platforms = platforms.linux ++ platforms.darwin;
};
}

View File

@ -2154,7 +2154,7 @@ with pkgs;
astc-encoder = callPackage ../tools/graphics/astc-encoder { };
asymptote = callPackage ../tools/graphics/asymptote {
texLive = texlive.combine { inherit (texlive) scheme-small epsf cm-super texinfo; };
texLive = texlive.combine { inherit (texlive) scheme-small epsf cm-super texinfo media9 ocgx2; };
gsl = gsl_1;
};