From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:40314) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1inf1T-0006mO-RV for guix-patches@gnu.org; Sat, 04 Jan 2020 03:43:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1inf1S-0007Wv-JD for guix-patches@gnu.org; Sat, 04 Jan 2020 03:43:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:36453) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1inf1S-0007Va-Ch for guix-patches@gnu.org; Sat, 04 Jan 2020 03:43:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1inf1S-0007UH-BA for guix-patches@gnu.org; Sat, 04 Jan 2020 03:43:02 -0500 Subject: [bug#38899] [PATCH v2] gnu: Add ghc-scalpel-core. References: <20200103162859.4685-1-brown121407@member.fsf.org> In-Reply-To: <20200103162859.4685-1-brown121407@member.fsf.org> Resent-Message-ID: From: Alexandru-Sergiu Marton Date: Sat, 4 Jan 2020 10:42:46 +0200 Message-Id: <20200104084246.4304-1-brown121407@member.fsf.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 38899@debbugs.gnu.org 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