gnu: mcron: Update to 1.1.3.

* gnu/packages/guile-xyz.scm (mcron): Update to 1.1.3.
[arguments]: Add phase to allow building with guile-2.2.
[native-inputs]: Remove autoconf, automake, help2man, texinfo.
This commit is contained in:
Efraim Flashner 2019-11-20 10:17:38 +02:00
parent 8c7453cee7
commit 30ebff69a7
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1921,17 +1921,22 @@ (define-public guile2.0-commonmark
(define-public mcron
(package
(name "mcron")
(version "1.1.2")
(version "1.1.3")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/mcron/mcron-"
version ".tar.gz"))
(sha256
(base32
"069m3ri7nc8lgy3h9ka7gj3v3anqj69x9jw4l3cfq65nqkxsch4g"))))
"00kv7fgllzjpis0g1m9csycp4f6l11774m09dqy255cvmim2g743"))))
(build-system gnu-build-system)
(arguments
'(#:phases (modify-phases %standard-phases
(add-after 'unpack 'fix-finding-guile
(lambda _
(substitute* "configure"
(("2\\.0") "2.2 2.0"))
#t))
(add-before 'check 'adjust-tests
(lambda _
(substitute* "tests/job-specifier.scm"
@ -1948,11 +1953,7 @@ (define-public mcron
(("\\(test-equal \"next-year\"" all)
(string-append "(test-skip 4)\n" all)))
#t)))))
(native-inputs `(("autoconf" ,autoconf)
("automake" ,automake)
("help2man" ,help2man)
("pkg-config" ,pkg-config)
("texinfo" ,texinfo)
(native-inputs `(("pkg-config" ,pkg-config)
("tzdata" ,tzdata-for-tests)))
(inputs `(("guile" ,guile-2.2)))
(home-page "https://www.gnu.org/software/mcron/")