[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/02: gnu: Add ghc-scalpel-core.
From: |
guix-commits |
Subject: |
01/02: gnu: Add ghc-scalpel-core. |
Date: |
Thu, 30 Jan 2020 15:56:36 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit a1c04f35acf41ab0c8ad830004eabde02920d3ce
Author: Alexandru-Sergiu Marton <address@hidden>
AuthorDate: Sat Jan 4 10:42:46 2020 +0200
gnu: Add ghc-scalpel-core.
* gnu/packages/haskell-web.scm (ghc-scalpel-core): New variable.
Signed-off-by: Efraim Flashner <address@hidden>
---
gnu/packages/haskell-web.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm
index 5888e85..8744008 100644
--- a/gnu/packages/haskell-web.scm
+++ b/gnu/packages/haskell-web.scm
@@ -7,6 +7,7 @@
;;; Copyright © 2017 Tobias Geerinckx-Rice <address@hidden>
;;; Copyright © 2019 Robert Vollmert <address@hidden>
;;; Copyright © 2019 John Soo <address@hidden>
+;;; Copyright © 2020 Alexandru-Sergiu Marton <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -1595,3 +1596,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)))