unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Alexandru-Sergiu Marton <brown121407@gmail.com>
To: 38900@debbugs.gnu.org
Cc: Alexandru-Sergiu Marton <brown121407@member.fsf.org>
Subject: [bug#38900] [PATCH v2] gnu: Add ghc-scalpel.
Date: Sat,  4 Jan 2020 10:34:23 +0200	[thread overview]
Message-ID: <20200104083423.3337-1-brown121407@member.fsf.org> (raw)
In-Reply-To: <20200103163247.5246-1-brown121407@member.fsf.org>

* 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

  reply	other threads:[~2020-01-04  8:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-03 16:32 [bug#38900] [PATCH] gnu: Add ghc-scalpel Alexandru-Sergiu Marton
2020-01-04  8:34 ` Alexandru-Sergiu Marton [this message]
2020-01-30 20:59   ` bug#38900: [PATCH v2] " Efraim Flashner
2020-01-29 18:11 ` [bug#38900] [PATCH] " John Soo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200104083423.3337-1-brown121407@member.fsf.org \
    --to=brown121407@gmail.com \
    --cc=38900@debbugs.gnu.org \
    --cc=brown121407@member.fsf.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).