summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip McGrath <philip@philipmcgrath.com>2022-05-18 14:11:20 -0400
committerLudovic Courtès <ludo@gnu.org>2022-05-22 01:07:56 +0200
commitf8e080691d95fd3b056de1808c51b702f3683979 (patch)
treeac7dc33be969c6e7d8051120dcef97d738a2c1b6
parentgnu: Add elm-ryannhg-date-format. (diff)
downloadguix-f8e080691d95fd3b056de1808c51b702f3683979.tar.gz
guix-f8e080691d95fd3b056de1808c51b702f3683979.tar.bz2
guix-f8e080691d95fd3b056de1808c51b702f3683979.tar.xz
gnu: Add elm-terezka-intervals.
* gnu/packages/elm.scm (elm-terezka-intervals): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--gnu/packages/elm.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/elm.scm b/gnu/packages/elm.scm
index a9b24b3b00..cf203addd5 100644
--- a/gnu/packages/elm.scm
+++ b/gnu/packages/elm.scm
@@ -729,3 +729,34 @@ formatting dates and times. It uses Elm's type system instead of format
729strings, which makes formatting code more readable and can catch some errors 729strings, which makes formatting code more readable and can catch some errors
730at compile time.") 730at compile time.")
731 (license license:bsd-3))) 731 (license license:bsd-3)))
732
733(define-public elm-terezka-intervals
734 (package
735 (name "elm-terezka-intervals")
736 (version "2.0.1")
737 (source
738 (elm-package-origin
739 "terezka/intervals"
740 version
741 (base32 "0h3im58sa6awyppch1v8ppcrzwc5h48yn45crx98m8zs4isx91lj")))
742 (build-system elm-build-system)
743 (propagated-inputs
744 (list elm-ryannhg-date-format
745 elm-myrho-elm-round
746 elm-justinmimbs-time-extra
747 elm-time
748 elm-svg
749 elm-json
750 elm-html
751 elm-core
752 elm-danhandrea-elm-time-extra))
753 (inputs (list elm-explorations-test))
754 (home-page "https://package.elm-lang.org/packages/terezka/intervals/2.0.1")
755 (synopsis "Produce nice intervals for Elm charts")
756 (description
757 "This package provides an Elm library for producing nice intervals for
758charts. It's useful in combination with @code{terezka/elm-charts}. When I
759say ``nice'', I just mean that I try to calculate intervals which begin with
76010, 5, 3, 2, or 1 (adjusted to magnitude, of course!). For dates, I try to
761hit whole days, weeks, and months or hours, minutes, and seconds.")
762 (license license:bsd-3)))