@@ -6562,6 +6562,35 @@ (define-public ghc-these-lens
(description "This package provides Prism and Traversals for @code{These}.")
(license license:bsd-3)))
+(define-public ghc-twain
+ (package
+ (name "ghc-twain")
+ (version "2.1.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (hackage-uri "twain" version))
+ (sha256
+ (base32 "1hkzp2g671dagmv1qznkf3mw3l2mslckg7h0a8x8633h6i3j6br0"))))
+ (build-system haskell-build-system)
+ (properties '((upstream-name . "twain")))
+ (inputs (list ghc-aeson
+ ghc-case-insensitive
+ ghc-cookie
+ ghc-either
+ ghc-http-types
+ ghc-http2
+ ghc-vault
+ ghc-wai
+ ghc-wai-extra))
+ (native-inputs (list ghc-hspec ghc-hspec-discover ghc-hspec-wai))
+ (home-page "https://github.com/alexmingoia/twain")
+ (synopsis "Tiny web application framework for WAI")
+ (description
+ "Twain is tiny web application framework for WAI. It provides routing,
+parameter parsing, and an either-like monad for composing responses.")
+ (license license:bsd-3)))
+
(define-public ghc-libffi
(package
(name "ghc-libffi")