[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/30: gnu: Add go-github-com-shopspring-decimal.
From: |
guix-commits |
Subject: |
03/30: gnu: Add go-github-com-shopspring-decimal. |
Date: |
Wed, 3 Jul 2024 17:59:20 -0400 (EDT) |
sharlatan pushed a commit to branch master
in repository guix.
commit bcad85a80e833471c2b6453ea86b33535aee0853
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Mon Apr 29 20:34:40 2024 +0100
gnu: Add go-github-com-shopspring-decimal.
* gnu/packages/golang-maths.scm (go-github-com-shopspring-decimal): New
variable.
Change-Id: I52ba58d05be9f631e5c53ccf7c30a977d7fe66b3
---
gnu/packages/golang-maths.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/golang-maths.scm b/gnu/packages/golang-maths.scm
index dfb29abea4..2348255119 100644
--- a/gnu/packages/golang-maths.scm
+++ b/gnu/packages/golang-maths.scm
@@ -57,6 +57,37 @@
"This package provides a statistical library for Golang.")
(license license:expat)))
+(define-public go-github-com-shopspring-decimal
+ (package
+ (name "go-github-com-shopspring-decimal")
+ (version "1.4.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/shopspring/decimal")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1p1iz0ybsjvc8k3w6lf92drs51fgrcbz0ib1p4ihp3gmdq5rnzjk"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/shopspring/decimal"))
+ (home-page "https://github.com/shopspring/decimal")
+ (synopsis "Arbitrary-precision fixed-point decimal numbers in Golang")
+ (description
+ "Package decimal implements an arbitrary precision fixed-point decimal.
+Features:
+@itemize
+@item the zero-value is 0, and is safe to use without initialization
+@item addition, subtraction, multiplication with no loss of precision
+@item division with specified precision
+@item database/sql serialization/deserialization
+@item JSON and XML serialization/deserialization
+@end itemize")
+ (license license:expat)))
+
;;;
;;; Executables:
;;;
- branch master updated (45f8f97147 -> ddbbb78786), guix-commits, 2024/07/03
- 04/30: gnu: Add go-github-com-adrg-strutil., guix-commits, 2024/07/03
- 06/30: gnu: Add go-github-com-dsnet-golib., guix-commits, 2024/07/03
- 08/30: gnu: Add go-github-com-expr-lang-expr., guix-commits, 2024/07/03
- 10/30: gnu: Add go-tengo., guix-commits, 2024/07/03
- 02/30: gnu: Add go-github-com-montanaflynn-stats., guix-commits, 2024/07/03
- 03/30: gnu: Add go-github-com-shopspring-decimal.,
guix-commits <=
- 05/30: gnu: Add go-github-com-adrg-xdg., guix-commits, 2024/07/03
- 01/30: gnu: Add packages/golang-math module., guix-commits, 2024/07/03
- 07/30: gnu: Add go-github-com-dsnet-compress., guix-commits, 2024/07/03
- 09/30: gnu: Add go-github-com-d5-tengo-v2., guix-commits, 2024/07/03
- 11/30: gnu: Add go-github-com-remeh-sizedwaitgroup., guix-commits, 2024/07/03
- 12/30: gnu: Add go-github-com-gookit-color., guix-commits, 2024/07/03
- 13/30: gnu: Add go-atomicgo-dev-assert., guix-commits, 2024/07/03
- 19/30: gnu: Add go-github-com-errata-ai-ini., guix-commits, 2024/07/03
- 22/30: gnu: Add go-atomicgo-dev-keyboard., guix-commits, 2024/07/03
- 14/30: gnu: Add go-github-com-otiai10-mint., guix-commits, 2024/07/03