[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
31/35: gnu: Add elm-myrho-elm-round.
From: |
guix-commits |
Subject: |
31/35: gnu: Add elm-myrho-elm-round. |
Date: |
Sat, 21 May 2022 19:43:15 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 71841da6f7b1186bcaa43b12c30b533e2cecf966
Author: Philip McGrath <philip@philipmcgrath.com>
AuthorDate: Wed May 18 14:11:18 2022 -0400
gnu: Add elm-myrho-elm-round.
* gnu/packages/elm.scm (elm-myrho-elm-round): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/elm.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/gnu/packages/elm.scm b/gnu/packages/elm.scm
index 45f137dcdc..a4fb99625a 100644
--- a/gnu/packages/elm.scm
+++ b/gnu/packages/elm.scm
@@ -686,3 +686,24 @@ dates without times or zones.")
"This package provides extra functions for working with @code{Posix}
times from @code{elm/time}.")
(license license:bsd-3)))
+
+(define-public elm-myrho-elm-round
+ (package
+ (name "elm-myrho-elm-round")
+ (version "1.0.4")
+ (source
+ (elm-package-origin
+ "myrho/elm-round"
+ version
+ (base32 "0y3j43wr815cvwz5310zalnqzpg3hw8h127zjjlf6x8ynapc2mdb")))
+ (build-system elm-build-system)
+ (propagated-inputs (list elm-core))
+ (inputs (list elm-explorations-test))
+ (home-page "https://package.elm-lang.org/packages/myrho/elm-round/1.0.4")
+ (synopsis "Flexible rounding of Elm @code{Float}s")
+ (description
+ "This library converts a @code{Float} to a @code{String} with ultimate
+control how many digits after the decimal point are shown and how the
+remaining digits are rounded. It rounds, floors and ceils the @dfn{common}
+way (i.e. half up) or the @dfn{commerical} way (ie. half away from zero).")
+ (license license:bsd-3)))
- branch master updated (014f97544d -> b782d11f9b), guix-commits, 2022/05/21
- 17/35: gnu: Add elm-file., guix-commits, 2022/05/21
- 26/35: gnu: Add elm-explorations-test., guix-commits, 2022/05/21
- 31/35: gnu: Add elm-myrho-elm-round.,
guix-commits <=
- 04/35: gnu: Add elm-core and elm-json., guix-commits, 2022/05/21
- 02/35: gnu: elm: Rename package to match the command., guix-commits, 2022/05/21
- 14/35: gnu: Add elm-url., guix-commits, 2022/05/21
- 12/35: gnu: Add elm-svg., guix-commits, 2022/05/21
- 35/35: news: Add entry for 'guix import elm'., guix-commits, 2022/05/21
- 16/35: gnu: Add elm-bytes., guix-commits, 2022/05/21
- 32/35: gnu: Add elm-ryannhg-date-format., guix-commits, 2022/05/21
- 15/35: gnu: Add elm-browser., guix-commits, 2022/05/21
- 19/35: gnu: Add elm-parser., guix-commits, 2022/05/21
- 25/35: gnu: Add elm-random., guix-commits, 2022/05/21