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

Previous Next

Package: guix-patches;

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

Date: Fri, 3 Jan 2020 16:29: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 38899 in the body.
You can then email your comments to 38899 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#38899; Package guix-patches. (Fri, 03 Jan 2020 16:29: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:29: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-core.
Date: Fri,  3 Jan 2020 18:28:59 +0200
* gnu/packages/haskell-web.scm (ghc-scalpel-core): New variable.
---
Depends on 38897 (ghc-pointedlist).

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

diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm
index 5888e8542e..cbdf7f94a3 100644
--- a/gnu/packages/haskell-web.scm
+++ b/gnu/packages/haskell-web.scm
@@ -1595,3 +1595,35 @@ cookies, serving files, and more.")
     (description
      "Haskell library which exposes zero-copy sendfile functionality in a portable way.")
     (license license:bsd-3)))
+
+(define-public ghc-scalpel-core
+  (package
+    (name "ghc-scalpel-core")
+    (version "0.6.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (string-append
+              "https://hackage.haskell.org/package/scalpel-core/"
+              "scalpel-core-" version ".tar.gz"))
+        (sha256
+          (base32
+            "1qf0gnidyh8zk0acj99vn6hsj37m410lrm50sqpiv1i36rpmmsqh"))))
+    (build-system haskell-build-system)
+    (inputs
+      `(("ghc-data-default" ,ghc-data-default)
+        ("ghc-fail" ,ghc-fail)
+        ("ghc-pointedlist" ,ghc-pointedlist)
+        ("ghc-regex-base" ,ghc-regex-base)
+        ("ghc-regex-tdfa" ,ghc-regex-tdfa)
+        ("ghc-tagsoup" ,ghc-tagsoup)
+        ("ghc-vector" ,ghc-vector)))
+    (native-inputs `(("ghc-hunit" ,ghc-hunit)))
+    (home-page "https://github.com/fimad/scalpel")
+    (synopsis
+      "A high level web scraping library for Haskell.")
+    (description
+      "Scalpel core provides a subset of the scalpel web scraping library
+that is intended to have lightweight dependencies and to be free of all
+non-Haskell dependencies.")
+    (license license:asl2.0)))
-- 
2.24.1





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

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

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

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

diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm
index 5888e8542e..8a96b64a5f 100644
--- a/gnu/packages/haskell-web.scm
+++ b/gnu/packages/haskell-web.scm
@@ -1595,3 +1595,35 @@ cookies, serving files, and more.")
     (description
      "Haskell library which exposes zero-copy sendfile functionality in a portable way.")
     (license license:bsd-3)))
+
+(define-public ghc-scalpel-core
+  (package
+    (name "ghc-scalpel-core")
+    (version "0.6.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (string-append
+              "https://hackage.haskell.org/package/scalpel-core/"
+              "scalpel-core-" version ".tar.gz"))
+        (sha256
+          (base32
+            "1qf0gnidyh8zk0acj99vn6hsj37m410lrm50sqpiv1i36rpmmsqh"))))
+    (build-system haskell-build-system)
+    (inputs
+      `(("ghc-data-default" ,ghc-data-default)
+        ("ghc-fail" ,ghc-fail)
+        ("ghc-pointedlist" ,ghc-pointedlist)
+        ("ghc-regex-base" ,ghc-regex-base)
+        ("ghc-regex-tdfa" ,ghc-regex-tdfa)
+        ("ghc-tagsoup" ,ghc-tagsoup)
+        ("ghc-vector" ,ghc-vector)))
+    (native-inputs `(("ghc-hunit" ,ghc-hunit)))
+    (home-page "https://github.com/fimad/scalpel")
+    (synopsis
+      "High level web scraping library for Haskell")
+    (description
+      "Scalpel core provides a subset of the scalpel web scraping library
+that is intended to have lightweight dependencies and to be free of all
+non-Haskell dependencies.")
+    (license license:asl2.0)))
-- 
2.24.1





Reply sent to Efraim Flashner <efraim <at> flashner.co.il>:
You have taken responsibility. (Thu, 30 Jan 2020 20:59:01 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 20:59:02 GMT) Full text and rfc822 format available.

Message #13 received at 38899-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: 38899-done <at> debbugs.gnu.org
Subject: Re: [bug#38899] [PATCH v2] gnu: Add ghc-scalpel-core.
Date: Thu, 30 Jan 2020 22:58:13 +0200
[Message part 1 (text/plain, inline)]
thanks. Patch pushed.

-- 
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:06 GMT) Full text and rfc822 format available.

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

Previous Next


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