* [bug#38900] [PATCH] gnu: Add ghc-scalpel.
@ 2020-01-03 16:32 Alexandru-Sergiu Marton
2020-01-04 8:34 ` [bug#38900] [PATCH v2] " Alexandru-Sergiu Marton
2020-01-29 18:11 ` [bug#38900] [PATCH] " John Soo
0 siblings, 2 replies; 4+ messages in thread
From: Alexandru-Sergiu Marton @ 2020-01-03 16:32 UTC (permalink / raw)
To: 38900; +Cc: Alexandru-Sergiu Marton
* gnu/packages/haskell-web.scm (ghc-scalpel): New variable.
---
Depends on 38899 (ghc-scalpel-core).
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..f8aa918100 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
+ "A 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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [bug#38900] [PATCH v2] gnu: Add ghc-scalpel.
2020-01-03 16:32 [bug#38900] [PATCH] gnu: Add ghc-scalpel Alexandru-Sergiu Marton
@ 2020-01-04 8:34 ` Alexandru-Sergiu Marton
2020-01-30 20:59 ` bug#38900: " Efraim Flashner
2020-01-29 18:11 ` [bug#38900] [PATCH] " John Soo
1 sibling, 1 reply; 4+ messages in thread
From: Alexandru-Sergiu Marton @ 2020-01-04 8:34 UTC (permalink / raw)
To: 38900; +Cc: Alexandru-Sergiu Marton
* 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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [bug#38900] [PATCH] gnu: Add ghc-scalpel.
2020-01-03 16:32 [bug#38900] [PATCH] gnu: Add ghc-scalpel Alexandru-Sergiu Marton
2020-01-04 8:34 ` [bug#38900] [PATCH v2] " Alexandru-Sergiu Marton
@ 2020-01-29 18:11 ` John Soo
1 sibling, 0 replies; 4+ messages in thread
From: John Soo @ 2020-01-29 18:11 UTC (permalink / raw)
To: 38900; +Cc: brown121407
Hi Alexandru-Sergio,
Thanks for more Haskell patches!
Scalpel looks good to me.
One recommendation would be to squash these two patches into one with an interactive rebase.
Otherwise I hope someone can push these changes soon.
Thanks again,
John
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#38900: [PATCH v2] gnu: Add ghc-scalpel.
2020-01-04 8:34 ` [bug#38900] [PATCH v2] " Alexandru-Sergiu Marton
@ 2020-01-30 20:59 ` Efraim Flashner
0 siblings, 0 replies; 4+ messages in thread
From: Efraim Flashner @ 2020-01-30 20:59 UTC (permalink / raw)
To: Alexandru-Sergiu Marton; +Cc: 38900-done
[-- Attachment #1: Type: text/plain, Size: 236 bytes --]
Thanks. Patch oushed.
--
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] 4+ messages in thread
end of thread, other threads:[~2020-01-30 21:01 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-03 16:32 [bug#38900] [PATCH] gnu: Add ghc-scalpel Alexandru-Sergiu Marton
2020-01-04 8:34 ` [bug#38900] [PATCH v2] " Alexandru-Sergiu Marton
2020-01-30 20:59 ` bug#38900: " Efraim Flashner
2020-01-29 18:11 ` [bug#38900] [PATCH] " John Soo
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).