GNU bug report logs - #38900
[PATCH] gnu: Add ghc-scalpel.

Previous Next

Package: guix-patches;

Reported by: Alexandru-Sergiu Marton <brown121407 <at> gmail.com>

Date: Fri, 3 Jan 2020 16:33:01 UTC

Severity: normal

Tags: patch

Done: Efraim Flashner <efraim <at> flashner.co.il>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 38900 in the body.
You can then email your comments to 38900 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#38900; Package guix-patches. (Fri, 03 Jan 2020 16:33:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Alexandru-Sergiu Marton <brown121407 <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 03 Jan 2020 16:33:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Alexandru-Sergiu Marton <brown121407 <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: Alexandru-Sergiu Marton <brown121407 <at> member.fsf.org>
Subject: [PATCH] gnu: Add ghc-scalpel.
Date: Fri,  3 Jan 2020 18:32:47 +0200
* gnu/packages/haskell-web.scm (ghc-scalpel): New variable.
---
Depends on 38899 (ghc-scalpel-core).

 gnu/packages/haskell-web.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm
index cbdf7f94a3..f8aa918100 100644
--- a/gnu/packages/haskell-web.scm
+++ b/gnu/packages/haskell-web.scm
@@ -1627,3 +1627,33 @@ cookies, serving files, and more.")
 that is intended to have lightweight dependencies and to be free of all
 non-Haskell dependencies.")
     (license license:asl2.0)))
+
+(define-public ghc-scalpel
+  (package
+    (name "ghc-scalpel")
+    (version "0.6.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (string-append
+              "https://hackage.haskell.org/package/scalpel/"
+              "scalpel-" version ".tar.gz"))
+        (sha256
+          (base32
+            "0jbrfcgljl8kbcwi2zqx1jp3c3dpxrkc94za44x56kcz68n89hlz"))))
+    (build-system haskell-build-system)
+    (inputs
+      `(("ghc-scalpel-core" ,ghc-scalpel-core)
+        ("ghc-case-insensitive" ,ghc-case-insensitive)
+        ("ghc-data-default" ,ghc-data-default)
+        ("ghc-http-client" ,ghc-http-client)
+        ("ghc-http-client-tls" ,ghc-http-client-tls)
+        ("ghc-tagsoup" ,ghc-tagsoup)))
+    (home-page "https://github.com/fimad/scalpel")
+    (synopsis
+      "A high level web scraping library for Haskell.")
+    (description
+      "Scalpel is a web scraping library inspired by libraries like Parsec
+and Perl's Web::Scraper Scalpel builds on top of TagSoup to provide a
+declarative and monadic interface.")
+    (license license:asl2.0)))
-- 
2.24.1





Information forwarded to guix-patches <at> gnu.org:
bug#38900; Package guix-patches. (Sat, 04 Jan 2020 08:35:02 GMT) Full text and rfc822 format available.

Message #8 received at 38900 <at> debbugs.gnu.org (full text, mbox):

From: Alexandru-Sergiu Marton <brown121407 <at> gmail.com>
To: 38900 <at> debbugs.gnu.org
Cc: Alexandru-Sergiu Marton <brown121407 <at> member.fsf.org>
Subject: [PATCH v2] gnu: Add ghc-scalpel.
Date: Sat,  4 Jan 2020 10:34:23 +0200
* gnu/packages/haskell-web.scm (ghc-scalpel): New variable.
---
Fix linter errors.

 gnu/packages/haskell-web.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm
index cbdf7f94a3..695668c711 100644
--- a/gnu/packages/haskell-web.scm
+++ b/gnu/packages/haskell-web.scm
@@ -1627,3 +1627,33 @@ cookies, serving files, and more.")
 that is intended to have lightweight dependencies and to be free of all
 non-Haskell dependencies.")
     (license license:asl2.0)))
+
+(define-public ghc-scalpel
+  (package
+    (name "ghc-scalpel")
+    (version "0.6.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (string-append
+              "https://hackage.haskell.org/package/scalpel/"
+              "scalpel-" version ".tar.gz"))
+        (sha256
+          (base32
+            "0jbrfcgljl8kbcwi2zqx1jp3c3dpxrkc94za44x56kcz68n89hlz"))))
+    (build-system haskell-build-system)
+    (inputs
+      `(("ghc-scalpel-core" ,ghc-scalpel-core)
+        ("ghc-case-insensitive" ,ghc-case-insensitive)
+        ("ghc-data-default" ,ghc-data-default)
+        ("ghc-http-client" ,ghc-http-client)
+        ("ghc-http-client-tls" ,ghc-http-client-tls)
+        ("ghc-tagsoup" ,ghc-tagsoup)))
+    (home-page "https://github.com/fimad/scalpel")
+    (synopsis
+      "High level web scraping library for Haskell")
+    (description
+      "Scalpel is a web scraping library inspired by libraries like Parsec
+and Perl's Web::Scraper Scalpel builds on top of TagSoup to provide a
+declarative and monadic interface.")
+    (license license:asl2.0)))
-- 
2.24.1





Information forwarded to guix-patches <at> gnu.org:
bug#38900; Package guix-patches. (Wed, 29 Jan 2020 18:12:02 GMT) Full text and rfc822 format available.

Message #11 received at 38900 <at> debbugs.gnu.org (full text, mbox):

From: John Soo <jsoo1 <at> asu.edu>
To: 38900 <at> debbugs.gnu.org
Cc: brown121407 <at> gmail.com
Subject: [PATCH] gnu: Add ghc-scalpel. 
Date: Wed, 29 Jan 2020 10:11:30 -0800
Hi Alexandru-Sergio,

Thanks for more Haskell patches!

Scalpel looks good to me.

One recommendation would be to squash these two patches into one with an interactive rebase.

Otherwise I hope someone can push these changes soon.

Thanks again,

John






Reply sent to Efraim Flashner <efraim <at> flashner.co.il>:
You have taken responsibility. (Thu, 30 Jan 2020 21:01:02 GMT) Full text and rfc822 format available.

Notification sent to Alexandru-Sergiu Marton <brown121407 <at> gmail.com>:
bug acknowledged by developer. (Thu, 30 Jan 2020 21:01:02 GMT) Full text and rfc822 format available.

Message #16 received at 38900-done <at> debbugs.gnu.org (full text, mbox):

From: Efraim Flashner <efraim <at> flashner.co.il>
To: Alexandru-Sergiu Marton <brown121407 <at> gmail.com>
Cc: 38900-done <at> debbugs.gnu.org
Subject: Re: [bug#38900] [PATCH v2] gnu: Add ghc-scalpel.
Date: Thu, 30 Jan 2020 22:59:29 +0200
[Message part 1 (text/plain, inline)]
Thanks. Patch oushed.

-- 
Efraim Flashner   <efraim <at> flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 28 Feb 2020 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 59 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.