gnu: Add elixir-decimal.

* gnu/packages/elixir-xyz.scm (elixir-decimal): New variable.

Change-Id: I1ba26002b8d5e936d2946c51b8fd82cfd96a7cd0
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Giacomo Leidi 2025-09-15 14:24:50 +02:00 committed by Ludovic Courtès
parent a2f7a3a941
commit 17bd5ebfc4
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -365,6 +365,27 @@ desired coding style.")
(home-page "https://hexdocs.pm/credo/") (home-page "https://hexdocs.pm/credo/")
(license license:expat))) (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 (define-public elixir-decorator
(package (package
(name "elixir-decorator") (name "elixir-decorator")