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.
This commit is contained in:
Ludovic Courtès 2020-01-23 09:34:56 +01:00
parent 93d94134cc
commit 3de0d20b80
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -2132,7 +2132,7 @@ (define-public mcron
(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 @@ (define-public mcron
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))