@@ -16537,3 +16537,24 @@ like endianness and architecture.")
codecs according to RFC4648, extended to support z-base32 encoding according to
https://gist.github.com/maaku/8996338#file-bip-ecc32-mediawiki.")
(license license:bsd-3)))
+
+(define-public ghc-formatting
+ (package
+ (name "ghc-formatting")
+ (version "7.1.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (hackage-uri "formatting" version))
+ (sha256
+ (base32 "1vrc2i1b6lxx2aq5hysfl3gl6miq2wbhxc384axvgrkqjbibnqc0"))))
+ (build-system haskell-build-system)
+ (inputs
+ (list ghc-clock ghc-old-locale ghc-scientific ghc-double-conversion))
+ (native-inputs (list ghc-hspec))
+ (home-page "https://github.com/AJChapman/formatting")
+ (synopsis
+ "Combinator-based type-safe formatting (like printf() or FORMAT)")
+ (description
+ "Formatting implements combinator-based type-safe formatting.")
+ (license license:bsd-3)))