guix_mirror_bot pushed a commit to branch master
in repository guix.

commit c2412c3aa431db2cdb392c7ef0a3f66127aff103
Author: Giacomo Leidi <[email protected]>
AuthorDate: Sat Jul 18 16:25:58 2026 +0200

    gnu: elixir-recode: Update to 0.8.0.
    
    * gnu/packages/elixir-xyz.scm (elixir-recode): Update to 0.8.0.
    [arguments]<phases>: Patch freedom_formatter dependency out of mix.exs
    as it's not yet packaged in Guix but it seems to not affect
    functionality.
    
    Signed-off-by: Andreas Enge <[email protected]>
---
 gnu/packages/elixir-xyz.scm | 16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/elixir-xyz.scm b/gnu/packages/elixir-xyz.scm
index 950a0d9ad1..1695786a02 100644
--- a/gnu/packages/elixir-xyz.scm
+++ b/gnu/packages/elixir-xyz.scm
@@ -1,7 +1,7 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2023 Pierre-Henry Fröhring <[email protected]>
 ;;; Copyright © 2024 Igor Goryachev <[email protected]>
-;;; Copyright © 2025 Giacomo Leidi <[email protected]>
+;;; Copyright © 2025, 2026 Giacomo Leidi <[email protected]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1001,14 +1001,24 @@ any case.")
 (define-public elixir-recode
   (package
     (name "elixir-recode")
-    (version "0.7.5")
+    (version "0.8.0")
     (source
      (origin
        (method url-fetch)
        (uri (hexpm-uri "recode" version))
        (sha256
-        (base32 "1rnvphgp3qaw02vh615hf5kfnm215bw4nc4wh8p8i01yn5p3khxd"))))
+        (base32 "1fpbfkg7g3pfc9qk2nlg4dz7hhimz22pbqpqanfnfq54npmj87f7"))))
     (build-system mix-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'remove-freedom-formatter
+            (lambda _
+              ;; freedom_formatter is not packaged in Guix.
+              (substitute* "mix.exs"
+                (("\\[\\{:freedom_formatter, \"~> 2.1\", only: :test\\}\\]")
+                 "[]")))))))
     (native-inputs
      (list elixir-excoveralls elixir-mox))
     (propagated-inputs

Reply via email to