unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#38899] [PATCH] gnu: Add ghc-scalpel-core.
@ 2020-01-03 16:28 Alexandru-Sergiu Marton
  2020-01-04  8:42 ` [bug#38899] [PATCH v2] " Alexandru-Sergiu Marton
  0 siblings, 1 reply; 3+ messages in thread
From: Alexandru-Sergiu Marton @ 2020-01-03 16:28 UTC (permalink / raw)
  To: 38899; +Cc: Alexandru-Sergiu Marton

* 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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#38899] [PATCH v2] gnu: Add ghc-scalpel-core.
  2020-01-03 16:28 [bug#38899] [PATCH] gnu: Add ghc-scalpel-core Alexandru-Sergiu Marton
@ 2020-01-04  8:42 ` Alexandru-Sergiu Marton
  2020-01-30 20:58   ` bug#38899: " Efraim Flashner
  0 siblings, 1 reply; 3+ messages in thread
From: Alexandru-Sergiu Marton @ 2020-01-04  8:42 UTC (permalink / raw)
  To: 38899; +Cc: Alexandru-Sergiu Marton

* 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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#38899: [PATCH v2] gnu: Add ghc-scalpel-core.
  2020-01-04  8:42 ` [bug#38899] [PATCH v2] " Alexandru-Sergiu Marton
@ 2020-01-30 20:58   ` Efraim Flashner
  0 siblings, 0 replies; 3+ messages in thread
From: Efraim Flashner @ 2020-01-30 20:58 UTC (permalink / raw)
  To: Alexandru-Sergiu Marton; +Cc: 38899-done

[-- Attachment #1: Type: text/plain, Size: 236 bytes --]

thanks. Patch pushed.

-- 
Efraim Flashner   <efraim@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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-01-30 20:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-03 16:28 [bug#38899] [PATCH] gnu: Add ghc-scalpel-core Alexandru-Sergiu Marton
2020-01-04  8:42 ` [bug#38899] [PATCH v2] " Alexandru-Sergiu Marton
2020-01-30 20:58   ` bug#38899: " Efraim Flashner

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).