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

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 26 Aug 2024 23:42:01 +0000

Your bug report

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

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
72322: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=72322
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: [PATCH] gnu: Add go-github-com-anaskhan96-soup.
From: Sharlatan Hellseher <[email-masked]>
To: [email-masked]
Date: Tue, 27 Aug 2024 00:39:43 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

Thank you for the patch.

Pushed as fb2347f6d1 to master.

--
Oleg

Subject: [PATCH] gnu: Add go-github-com-anaskhan96-soup.
From: Adam Quandour <[email-masked]>
To: [email-masked]
Cc: Adam Quandour <[email-masked]>
Date: Sat, 27 Jul 2024 16:59:06 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

* 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