summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorHugo Buddelmeijer <hugo@buddelmeijer.nl>2026-02-15 23:08:56 +0100
committerAndreas Enge <andreas@enge.fr>2026-02-21 22:25:04 +0100
commit9d5063bcea19b8f900159cd7a5020dfaa5bf9489 (patch)
treee25ea7f6857057809b95739b5c63a79f181a25c1 /gnu
parent69a885dbd777f405c5cb0cec4af9c2d922447e8c (diff)
gnu: tcalc: Fix build.
* gnu/packages/maths.scm (tcalc): Fix build. [source]: Replace URL. [arguments]<#:configure-flags>: Add CFLAGS=-fcommon. [home-page]: Replace URL. Fixes: guix/guix#6492 Change-Id: I47618f124d548170bbb9a8c027886b0398fb2154 Signed-off-by: Andreas Enge <andreas@enge.fr>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/maths.scm36
1 files changed, 21 insertions, 15 deletions
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 7a8959cf180..926f5013809 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -8955,24 +8955,30 @@ analysed.")
(define-public tcalc
(package
- (name "tcalc")
- (version "2.0")
- (source
- (origin
- (method url-fetch)
- (uri (string-append "https://sites.google.com/site/mohammedisam2000/tcalc/tcalc-"
- version ".tar.gz"))
- (sha256
+ (name "tcalc")
+ (version "2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://drive.usercontent.google.com/download"
+ "?id=1gICzFCnJEQk10n5ioqOVrSjHd4R_u0Eq"))
+ (file-name (string-append "tcalc-" version ".tar.gz"))
+ (sha256
(base32
- "0jq806m4dqfia85nppfm75mml9w57g0cgv4cdw9bp3zymda83s0m"))))
- (build-system gnu-build-system)
- (synopsis "The terminal calculator")
- (description
- "The terminal calculator is a small program to help users of the GNU/Linux
+ "0jq806m4dqfia85nppfm75mml9w57g0cgv4cdw9bp3zymda83s0m"))))
+ (build-system gnu-build-system)
+ (arguments
+ (list
+ #:configure-flags #~(list "CFLAGS=-fcommon")))
+ (synopsis "The terminal calculator")
+ (description
+ "The terminal calculator is a small program to help users of the GNU/Linux
terminal do calculations simply and quickly. The formula to be calculated can
be fed to @command{tcalc} through the command line.")
- (home-page "https://sites.google.com/site/mohammedisam2000/tcalc")
- (license license:gpl3+)))
+ (home-page
+ "https://sites.google.com/site/mohammedisam2000/tcalc-the-gnulinux-terminal-calculator")
+ (license license:gpl3+)))
(define-public tiny-bignum
(let ((commit "1d7a1f9b8e77316187a6b3eae8e68d60a6f9a4d4"))