GNU bug report logs -
#67384
[PATCH] gnu: Add perl-math-sigfig.
Previous Next
To reply to this bug, email your comments to 67384 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#67384
; Package
guix-patches
.
(Wed, 22 Nov 2023 19:23:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Rikard Nordgren <hrn <at> posteo.net>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Wed, 22 Nov 2023 19:23:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/perl-maths.scm (perl-math-sigfig): New variable.
Change-Id: Ied8b274cb68a8b1e0afb436552679a04d600e04e
---
gnu/packages/perl-maths.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/perl-maths.scm b/gnu/packages/perl-maths.scm
index b317e3c1cf..df01d3ac9a 100644
--- a/gnu/packages/perl-maths.scm
+++ b/gnu/packages/perl-maths.scm
@@ -21,6 +21,7 @@ (define-module (gnu packages perl-maths)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system perl)
+ #:use-module (guix git-download)
#:use-module (gnu packages perl)
#:use-module (gnu packages perl-check))
@@ -48,6 +49,31 @@ (define-public perl-math-cephes
150 functions of the Cephes math library.")
(license license:perl-license)))
+(define-public perl-math-sigfigs
+ (package
+ (name "perl-math-sigfigs")
+ (version "1.21")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/SBECK-github/Math-SigFigs")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "11fzn559s77cq82yddq4bgqjfan2c85cn42l2p30gnrnqrmsbg0l"))))
+ (build-system perl-build-system)
+ (native-inputs (list perl-test-inter perl-test-pod perl-test-pod-coverage
+ perl-file-find-rule))
+ (home-page "https://metacpan.org/pod/Math::SigFigs")
+ (synopsis "Math with correct handling of significant figures")
+ (description
+ "@code{Math::SigFigs} contains routines for correct handling of
+significant figures. It can handle real number or exponentials correctly.
+It can count the number of significant figures, format a number to a given
+number of significant figures, and do basic arithmetic.")
+ (license license:perl-license)))
+
(define-public perl-math-matrixreal
(package
(name "perl-math-matrixreal")
base-commit: 23627b1706af25a0a30b96b9169a3495279aff1b
--
2.34.1
This bug report was last modified 1 year and 77 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.