Subject: [bug#60075] [PATCH 40/58] gnu: julia-colors: Update to 0.12.9.

From: Efraim Flashner <[email-masked]>
Date: Wed, 14 Dec 2022 22:35:38 +0200

* gnu/packages/julia-xyz.scm (julia-colors): Update to 0.12.9.
[arguments]: Add phase to skip ambiguities tests.
[native-inputs]: Add julia-abstracttrees.
---
 gnu/packages/julia-xyz.scm | 17 ++++++++++++++---
 1 file changed, 14 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index a89ef60459..3ffbd54684 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -895,21 +895,32 @@ (define-public julia-codeczlib
 (define-public julia-colors
   (package
     (name "julia-colors")
-    (version "0.12.8")
+    (version "0.12.9")
     (source
      (origin
        (method git-fetch)
        (uri (git-reference
              (url "https://github.com/JuliaGraphics/Colors.jl")
-             (commit (string-append "v" version))))
+             ;; The commit is registered but isn't tagged yet.
+             (commit "df7cc128e92d9ee5ef3696ba49ffbe3714539eb4")))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "0kx3hq7rf8p5zx6ly9k5j90zijmc7yrwmy96cgkl2ibdfbnhmya3"))))
+        (base32 "1g0fvvz09pfk6jxqrdplwkw1yywcqvwjd3ga24hblq71mah367n6"))))
     (build-system julia-build-system)
+    (arguments
+     (list
+       #:phases
+       #~(modify-phases %standard-phases
+           (add-after 'unpack 'adjust-tests
+             (lambda _
+               (substitute* "test/runtests.jl"
+                 ((".*detect_ambiguities.*") "")))))))
     (propagated-inputs
      (list julia-colortypes
            julia-fixedpointnumbers
            julia-reexport))
+    (native-inputs
+     (list julia-abstracttrees))
     (home-page "https://github.com/JuliaGraphics/Colors.jl")
     (synopsis "Tools for dealing with color")
     (description "This package provides a wide array of functions for dealing
-- 
2.38.1