[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#71843] [PATCH 03/26] gnu: Add go-github-com-shopspring-decimal.
From: |
Sharlatan Hellseher |
Subject: |
[bug#71843] [PATCH 03/26] gnu: Add go-github-com-shopspring-decimal. |
Date: |
Sun, 30 Jun 2024 10:05:43 +0100 |
* 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 @@ (define-public go-github-com-montanaflynn-stats
"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:
;;;
--
2.41.0
- [bug#71843] [PATCH 00/26] Update and unbundle vale - part I, Sharlatan Hellseher, 2024/06/29
- [bug#71843] [PATCH 01/26] gnu: Add packages/golang-math module., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 06/26] gnu: Add go-github-com-dsnet-golib., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 02/26] gnu: Add go-github-com-montanaflynn-stats., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 11/26] gnu: Add go-github-com-remeh-sizedwaitgroup., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 03/26] gnu: Add go-github-com-shopspring-decimal.,
Sharlatan Hellseher <=
- [bug#71843] [PATCH 05/26] gnu: Add go-github-com-adrg-xdg., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 07/26] gnu: Add go-github-com-dsnet-compress., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 08/26] gnu: Add go-github-com-expr-lang-expr., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 04/26] gnu: Add go-github-com-adrg-strutil., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 15/26] gnu: Add go-github-com-otiai10-copy., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 12/26] gnu: Add go-github-com-gookit-color., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 13/26] gnu: Add go-atomicgo-dev-assert., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 19/26] gnu: Add go-github-com-errata-ai-ini., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 21/26] gnu: Add go-atomicgo-dev-schedule., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 10/26] gnu: Add go-tengo., Sharlatan Hellseher, 2024/06/30