;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2025 Giacomo Leidi <goodoldpaul@autistici.org>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages elixir-i18n)
#:use-module (gnu packages erlang)
#:use-module (gnu packages elixir-markup)
#:use-module (gnu packages elixir-xyz)
#:use-module (guix build-system mix)
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module (guix gexp)
#:use-module ((guix licenses)
#:prefix license:)
#:use-module (guix packages))
(define-public elixir-cldr-utils
(package
(name "elixir-cldr-utils")
(version "2.28.3")
(source
(origin
(method url-fetch)
(uri (hexpm-uri "cldr_utils" version))
(sha256
(base32 "1dgzaxfj0whv2rjkf57jnzkl63az50wypzjwcwnz31yilpckq220"))))
(build-system mix-build-system)
(propagated-inputs (list elixir-castore erlang-certifi elixir-decimal))
(synopsis
"Helpers for @code{ex_cldr}")
(description
"@code{Map}, @code{Calendar}, @code{Digits}, @code{Decimal}, @code{HTTP},
@code{Macro}, @code{Math}, and @code{String} helpers for @code{ex_cldr}.")
(home-page "https://hexdocs.pm/cldr_utils/")
(license license:asl2.0)))
(define-public elixir-digital-token
(package
(name "elixir-digital-token")
(version "1.0.0")
(source
(origin
(method url-fetch)
(uri (hexpm-uri "digital_token" version))
(sha256
(base32 "1rp9r5jb0db52f969jmgv5sp8k0vd98dnqwrgca0fyzsqalgbmlf"))))
(build-system mix-build-system)
(propagated-inputs (list elixir-cldr-utils elixir-jason))
(synopsis
"ISO 24165 Digital Tokens")
(description
"Elixir integration for ISO 24165 Digital Tokens (crypto currencies) through the
DTIF registry data.")
(home-page "https://hexdocs.pm/digital_token/")
(license license:asl2.0)))