guix_mirror_bot pushed a commit to branch master
in repository guix.

commit f2c9dabec8c04804c344d68d3ae7ca4465a2678c
Author: Andy Tai <[email protected]>
AuthorDate: Sun Sep 21 14:48:29 2025 -0700

    gnu: gcal: Update to 4.2.0.
    
    * gnu/packages/gcal.scm (gcal): Update to 4.2.0.
    [argument]<#:configure-flags>: Add "-lm".
    [native-inputs]: Add pkg-config and check.
    
    Change-Id: Ia67f66b604ab428c8cbe546c47bbcdf7a52dd8de
    Signed-off-by: Ludovic Courtès <[email protected]>
---
 gnu/packages/gcal.scm | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/gcal.scm b/gnu/packages/gcal.scm
index 32d3849faa..c9ac90055b 100644
--- a/gnu/packages/gcal.scm
+++ b/gnu/packages/gcal.scm
@@ -1,5 +1,6 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2013, 2018 Ludovic Courtès <[email protected]>
+;;; Copyright © 2025 Andy Tai <[email protected]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -20,19 +21,22 @@
   #:use-module (guix packages)
   #:use-module (guix download)
   #:use-module (guix build-system gnu)
-  #:use-module (guix licenses))
+  #:use-module (guix licenses)
+  #:use-module (gnu packages check)
+  #:use-module (gnu packages pkg-config))
+
 
 (define-public gcal
   (package
     (name "gcal")
-    (version "4.1")
+    (version "4.2.0")
     (source (origin
              (method url-fetch)
-             (uri (string-append "mirror://gnu/gcal/gcal-"
+             (uri (string-append "https://www.alteholz.dev/gnu/gcal-";
                                  version ".tar.xz"))
              (sha256
               (base32
-               "1av11zkfirbixn05hyq4xvilin0ncddfjqzc4zd9pviyp506rdci"))
+               "1p3q6his31bxs24nsgpfavw3nlhalqf0zak4f3b530p725s2vgfq"))
              (modules '((guix build utils)))
              (snippet
               '(begin
@@ -50,6 +54,8 @@
                                    "/* BSD stdio derived implementations")))
                  #t))))
     (build-system gnu-build-system)
+    (native-inputs (list check pkg-config))
+    (arguments `(#:configure-flags '("LDFLAGS=-lm")))
     (home-page "https://www.gnu.org/software/gcal/";)
     (synopsis "Calculating and printing a wide variety of calendars")
     (description

Reply via email to