guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#55903] [PATCH 15/41] gnu: Add go-github-com-jaytaylor-html2text.


From: (unmatched-parenthesis
Subject: [bug#55903] [PATCH 15/41] gnu: Add go-github-com-jaytaylor-html2text.
Date: Sat, 11 Jun 2022 20:16:27 +0100

* gnu/packages/golang.scm (go-github-com-jaytaylor-html2text): New
  variable.
---
 gnu/packages/golang.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 8caf840ae2..4f6770358f 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10179,3 +10179,31 @@ (define-public go-github-com-gogs-chardet
     (description "Package chardet ports character set detection from ICU
 to Go.")
     (license license:expat)))
+
+(define-public go-github-com-jaytaylor-html2text
+  (package
+    (name "go-github-com-jaytaylor-html2text")
+    (version "0.0.0-20211105163654-bc68cce691ba")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/jaytaylor/html2text";)
+                    (commit (go-version->git-ref version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "12ckgkp8xqgp0fh6019nwp4ssg2k1rv1a67cpk37ian4q5zrvppm"))))
+    (build-system go-build-system)
+    (arguments
+     (list #:import-path "github.com/jaytaylor/html2text"
+           ;; XXX: Seems to make incorrect assertions about the text it 
produces?
+           #:tests? #f))
+    (propagated-inputs (list go-golang-org-x-net
+                             go-github-com-olekukonko-tablewriter
+                             go-github-com-ssor-bom))
+    (home-page "https://github.com/jaytaylor/html2text";)
+    (synopsis "Convert HTML email to text")
+    (description
+     "Package html2text converts HTML emails to textual ones.  Ensure
+your emails are readable by all!")
+    (license license:expat)))
-- 
2.36.1






reply via email to

[Prev in Thread] Current Thread [Next in Thread]