guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 17bd5ebfc4b919dc5eb3b5b5152c8b09bef6f9d4
Author: Giacomo Leidi <[email protected]>
AuthorDate: Mon Sep 15 14:24:50 2025 +0200

    gnu: Add elixir-decimal.
    
    * gnu/packages/elixir-xyz.scm (elixir-decimal): New variable.
    
    Change-Id: I1ba26002b8d5e936d2946c51b8fd82cfd96a7cd0
    Signed-off-by: Ludovic Courtès <[email protected]>
---
 gnu/packages/elixir-xyz.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/elixir-xyz.scm b/gnu/packages/elixir-xyz.scm
index 0f82f0dcce..9423867287 100644
--- a/gnu/packages/elixir-xyz.scm
+++ b/gnu/packages/elixir-xyz.scm
@@ -365,6 +365,27 @@ desired coding style.")
     (home-page "https://hexdocs.pm/credo/";)
     (license license:expat)))
 
+(define-public elixir-decimal
+  (package
+    (name "elixir-decimal")
+    (version "2.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (hexpm-uri "decimal" version))
+       (sha256
+        (base32 "1b5ffcvvzmzi7gpkahn36z5wyqc3wlli7rrhrz1lgjr9rdan7mm4"))))
+    (build-system mix-build-system)
+    (native-inputs
+     (list elixir-stream-data))
+    (synopsis "Arbitrary precision decimal arithmetic")
+    (description "This package provides @code{elixir-decimal}, a library that
+represents values internally using three integers: a sign, a coefficient, and 
an
+exponent.  In this way, numbers of any size and with any number of decimal
+places can be represented exactly.")
+    (home-page "https://hexdocs.pm/decimal/";)
+    (license license:asl2.0)))
+
 (define-public elixir-decorator
   (package
     (name "elixir-decorator")

Reply via email to