@@ 1060,6 1060,41 @@ formatted diff between two strings.")
(home-page "https://hexdocs.pm/text_diff/")
(license license:expat)))
+(define-public elixir-timex
+ (package
+ (name "elixir-timex")
+ (version "3.7.13")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (hexpm-uri "timex" version))
+ (sha256
+ (base32 "0m2cdmp172zpi6ska9yky2rj2qr4863zvd5qfglji4v6482qwn09"))))
+ (build-system mix-build-system)
+ (arguments
+ (list
+ ;; Tests appear to require network.
+ #:tests? #f
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'set-locales
+ (lambda _
+ (mkdir-p "config")
+ (call-with-output-file "config/config.exs"
+ (lambda (port)
+ (display "import Config
+
+config :gettext, :default_locale, \"en\"\n" port))))))))
+ (propagated-inputs (list elixir-combine elixir-gettext elixir-tzdata))
+ (synopsis
+ "Comprehensive date/time library for Elixir projects")
+ (description
+ "Timex is a rich, comprehensive Date/Time library for Elixir projects, with
+full timezone support via the @code{:tzdata} package. If you need to manipulate
+dates, times, datetimes, timestamps, etc., then Timex is for you.")
+ (home-page "https://hexdocs.pm/timex/")
+ (license license:expat)))
+
(define-public elixir-traverse
(package
(name "elixir-traverse")