guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/03: gnu: Add guile3.0-commonmark.


From: guix-commits
Subject: 01/03: gnu: Add guile3.0-commonmark.
Date: Mon, 20 Jan 2020 17:50:58 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 346386f3f7a3a00720e5423fa5900a1b3facb702
Author: Ricardo Wurmus <address@hidden>
AuthorDate: Mon Jan 20 20:24:02 2020 +0100

    gnu: Add guile3.0-commonmark.
    
    * gnu/packages/guile-xyz.scm (guile3.0-commonmark): New variable.
    (guile-commonmark)[arguments]: Patch configure file.
---
 gnu/packages/guile-xyz.scm | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 7d5621e..2e768ad 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -2035,6 +2035,15 @@ key-value cache and store.")
                      "3.0 2.2 2.0"))
                   #t))))
     (build-system gnu-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'support-guile-3.0
+           (lambda _
+             (substitute* "configure"
+               (("_guile_versions_to_search=\"2.2")
+                "_guile_versions_to_search=\"3.0 2.2"))
+             #t)))))
     (inputs
      `(("guile" ,guile-2.2)))
     (native-inputs
@@ -2061,6 +2070,12 @@ is no support for parsing block and inline level HTML.")
     (name "guile2.0-commonmark")
     (inputs `(("guile" ,guile-2.0)))))
 
+(define-public guile3.0-commonmark
+  (package
+    (inherit guile-commonmark)
+    (name "guile3.0-commonmark")
+    (inputs `(("guile" ,guile-3.0)))))
+
 (define-public mcron
   (package
     (name "mcron")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]