From 30ebff69a75fe90a1694ef35cf6e749ec376b67e Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 20 Nov 2019 10:17:38 +0200 Subject: [PATCH] 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. --- gnu/packages/guile-xyz.scm | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index 49ef5f2892..1e676566ac 100644 --- a/gnu/packages/guile-xyz.scm +++ b/gnu/packages/guile-xyz.scm @@ -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/")