[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/22: gnu: Add ghc-html-conduit.
From: |
guix-commits |
Subject: |
08/22: gnu: Add ghc-html-conduit. |
Date: |
Sun, 29 Mar 2020 16:37:47 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit 9989d1464f8b04dbc514d71f93630c8fe54da911
Author: Alexandru-Sergiu Marton <address@hidden>
AuthorDate: Wed Jan 8 11:35:37 2020 +0200
gnu: Add ghc-html-conduit.
* gnu/packages/haskell-web.scm (ghc-html-conduit): New variable.
Signed-off-by: Marius Bakke <address@hidden>
---
gnu/packages/haskell-web.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm
index acdc144..d2c7b50 100644
--- a/gnu/packages/haskell-web.scm
+++ b/gnu/packages/haskell-web.scm
@@ -752,6 +752,41 @@ Haskell.")
documents.")
(license license:bsd-3)))
+(define-public ghc-html-conduit
+ (package
+ (name "ghc-html-conduit")
+ (version "1.3.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/html-conduit/"
+ "html-conduit-" version ".tar.gz"))
+ (sha256
+ (base32
+ "196c8zcnjp1pc5qvqxd8arx3xkw0a90rvg9mmiw2l4zwnx65709n"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-resourcet" ,ghc-resourcet)
+ ("ghc-conduit" ,ghc-conduit)
+ ("ghc-xml-conduit" ,ghc-xml-conduit)
+ ("ghc-xml-types" ,ghc-xml-types)
+ ("ghc-attoparsec" ,ghc-attoparsec)
+ ("ghc-conduit-extra" ,ghc-conduit-extra)))
+ (native-inputs
+ `(("ghc-hspec" ,ghc-hspec)
+ ("ghc-hunit" ,ghc-hunit)))
+ (home-page "https://github.com/snoyberg/xml")
+ (synopsis "Parse HTML documents using xml-conduit datatypes")
+ (description
+ "This package provides a parser for HTML documents that uses
+tagstream-conduit. It automatically balances mismatched tags, so that
+there shouldn't be any parse failures. It does not handle a full HTML
+document rendering, such as adding missing html and head tags. Note that,
+since version 1.3.1, it uses an inlined copy of tagstream-conduit with
+entity decoding bugfixes applied.")
+ (license license:expat)))
+
(define-public ghc-blaze-html
(package
(name "ghc-blaze-html")
- branch master updated (9e9dd40 -> 3bf45ff), guix-commits, 2020/03/29
- 01/22: gnu: Move the deprecated 'ghc-stylish-haskell' closer to its replacement., guix-commits, 2020/03/29
- 07/22: gnu: Add ghc-pwstore-fast., guix-commits, 2020/03/29
- 08/22: gnu: Add ghc-html-conduit.,
guix-commits <=
- 10/22: gnu: ghc-persistent-template: Update to 2.8.0., guix-commits, 2020/03/29
- 11/22: gnu: Add ghc-persistent-test., guix-commits, 2020/03/29
- 12/22: gnu: ghc-persistent-sqlite: Update to 2.10.5.2., guix-commits, 2020/03/29
- 04/22: gnu: Add ghc-project-template., guix-commits, 2020/03/29
- 03/22: gnu: Add emacs-hlint-refactor-mode., guix-commits, 2020/03/29
- 02/22: gnu: Add apply-refact., guix-commits, 2020/03/29
- 13/22: gnu: ghc-scalpel: Fix typo in description., guix-commits, 2020/03/29
- 22/22: gnu: font-jetbrains-mono: Update to 1.0.3., guix-commits, 2020/03/29
- 14/22: gnu: ghc-yesod-persistent: Update to 1.6.0.4., guix-commits, 2020/03/29
- 09/22: gnu: ghc-persistent: Update to 2.10.4., guix-commits, 2020/03/29