guix-commits
[Top][All Lists]
Advanced

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

05/11: gnu: mcron: Add "guile3.0-mcron" variant.


From: guix-commits
Subject: 05/11: gnu: mcron: Add "guile3.0-mcron" variant.
Date: Thu, 23 Jan 2020 05:28:08 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit 3de0d20b80248179f03ee54091c05c8896df1763
Author: Ludovic Courtès <address@hidden>
AuthorDate: Thu Jan 23 09:34:56 2020 +0100

    gnu: mcron: Add "guile3.0-mcron" variant.
    
    * gnu/packages/guile-xyz.scm (mcron)[arguments]: In 'fix-finding-guile'
    phase, add "3.0".
    (guile3.0-mcron): New variable.
---
 gnu/packages/guile-xyz.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 09c12b9..c3c4845 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -2132,7 +2132,7 @@ is no support for parsing block and inline level HTML.")
                   (add-after 'unpack 'fix-finding-guile
                     (lambda _
                       (substitute* "configure"
-                        (("2\\.0") "2.2 2.0"))
+                        (("2\\.0") "3.0 2.2 2.0"))
                       #t))
                   (add-before 'check 'adjust-tests
                     (lambda _
@@ -2162,6 +2162,12 @@ Guile, so its configuration can be written in Scheme; 
the original cron
 format is also supported.")
     (license license:gpl3+)))
 
+(define-public guile3.0-mcron
+  (package
+    (inherit mcron)
+    (name "guile3.0-mcron")
+    (inputs `(("guile" ,guile-3.0)))))
+
 (define-public mcron2
   ;; This was mthl's mcron development branch, and it became mcron 1.1.
   (deprecated-package "mcron2" mcron))



reply via email to

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