guix-patches
[Top][All Lists]
Advanced

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

[bug#72322] [PATCH] gnu: Add go-github-com-anaskhan96-soup.


From: Adam Quandour
Subject: [bug#72322] [PATCH] gnu: Add go-github-com-anaskhan96-soup.
Date: Sat, 27 Jul 2024 16:59:06 +0300

* gnu/packages/golang-web.scm (go-github-com-anaskhan96-soup): New variable.
---
 gnu/packages/golang-web.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index a9658cf..b474095 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -190,6 +190,33 @@ (define-public go-github-com-andybalholm-cascadia
 the parse trees produced by the html package.")
     (license license:bsd-2)))
 
+(define-public go-github-com-anaskhan96-soup
+  (package
+    (name "go-github-com-anaskhan96-soup")
+    (version "1.2.5")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/anaskhan96/soup";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0s19119sy4zqf05sgpdymcbdaz5bg86n7xwgd2m1vvxjmp485k5p"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "github.com/anaskhan96/soup"))
+    (native-inputs
+     (list go-golang-org-x-net))
+    (inputs
+     ;; needed for the check phase
+     (list go-github-com-stretchr-testify))
+    (home-page "https://github.com/anaskhan96/soup";)
+    (synopsis "Web Scraper in Go, similar to BeautifulSoup")
+    (description "Small web scraper package for Go, with its interface
+highly similar to that of BeautifulSoup.")
+    (license license:expat)))
+
 (define-public go-github-com-audriusbutkevicius-pfilter
   (package
     (name "go-github-com-audriusbutkevicius-pfilter")
-- 
2.45.2






reply via email to

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