From 03957954937bb3139172451494706be7d3566295 Mon Sep 17 00:00:00 2001 From: Giacomo Leidi Date: Tue, 16 Sep 2025 23:35:35 +0200 Subject: [PATCH] gnu: Add elixir-cldr-utils. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/i18n.scm: New file. (elixir-cldr-utils): New variable. * gnu/local.mk: Add it. Change-Id: Id94515d19af849b852c3b78515b5b0027d151b9f Signed-off-by: Ludovic Courtès --- gnu/local.mk | 1 + gnu/packages/elixir-i18n.scm | 49 ++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 gnu/packages/elixir-i18n.scm diff --git a/gnu/local.mk b/gnu/local.mk index 2a29be7a9ec6f0f6133eb4ccaeb92305662b0d93..13967641252f5b4b8d68c09aec6ed37089cb0b0b 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -262,6 +262,7 @@ GNU_SYSTEM_MODULES = \ %D%/packages/elf.scm \ %D%/packages/elixir.scm \ %D%/packages/elixir-databases.scm \ + %D%/packages/elixir-i18n.scm \ %D%/packages/elixir-markup.scm \ %D%/packages/elixir-xyz.scm \ %D%/packages/elm.scm \ diff --git a/gnu/packages/elixir-i18n.scm b/gnu/packages/elixir-i18n.scm new file mode 100644 index 0000000000000000000000000000000000000000..30b19327ca3771a0f8fa58771d55770a6456f604 --- /dev/null +++ b/gnu/packages/elixir-i18n.scm @@ -0,0 +1,49 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2025 Giacomo Leidi +;;; +;;; 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 . + +(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)))