unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#57862] [PATCHES] Add package ghc-hxt-xpath
@ 2022-09-16 13:58 Alice BRENON
  2022-10-08 11:07 ` bug#57862: " Christopher Baines
  0 siblings, 1 reply; 2+ messages in thread
From: Alice BRENON @ 2022-09-16 13:58 UTC (permalink / raw)
  To: 57862

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

Hi guix,

I use the little time required to fix the display between two talks of
the 10 years anniversary to submit this proposal for a new haskell
package. It's an extension of the HXT library for XML made to handle
XPaths.

Happy birthday Guix !!

Alice

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-ghc-hxt-xpath.patch --]
[-- Type: text/x-patch, Size: 1923 bytes --]

From 9efbd82e9c566a6523dc54356dd4981fe6fac789 Mon Sep 17 00:00:00 2001
From: Alice BRENON <alice.brenon@ens-lyon.fr>
Date: Tue, 13 Sep 2022 17:35:20 +0200
Subject: [PATCH] gnu: Add ghc-hxt-xpath.

* gnu/packages/haskell-web.scm (ghc-hxt-xpath): New variable.
---
 gnu/packages/haskell-web.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm
index 1c2538b45e..0e82d65e27 100644
--- a/gnu/packages/haskell-web.scm
+++ b/gnu/packages/haskell-web.scm
@@ -12,6 +12,7 @@
 ;;; Copyright © 2020, 2022 Kyle Meyer <kyle@kyleam.com>
 ;;; Copyright © 2020 Alexandru-Sergiu Marton <brown121407@member.fsf.org>
 ;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org>
+;;; Copyright © 2022 Alice Brenon <alice.brenon@ens-lyon.fr>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1541,6 +1542,26 @@ (define-public ghc-hxt
 introduces a more general approach for processing XML with Haskell.")
     (license license:expat)))
 
+(define-public ghc-hxt-xpath
+  (package
+    (name "ghc-hxt-xpath")
+    (version "9.1.2.2")
+    (source (origin
+              (method url-fetch)
+              (uri (hackage-uri "hxt-xpath" version))
+              (sha256
+               (base32
+                "0wlq9s01icalnvjkkilx5zaqp3ff4v5limj1xy8i18qpzjspqdsh"))))
+    (build-system haskell-build-system)
+    (inputs (list ghc-hxt))
+    (home-page "https://github.com/UweSchmidt/hxt")
+    (synopsis "The XPath modules for HXT.")
+    (description
+     "This extension for the Haskell XML Toolbox defines data types to
+represent XPath, navigation trees and primitives to select and edit subtrees
+from them.  Some primitives have both a functional and an arrow interface.")
+    (license license:expat)))
+
 (define-public ghc-http-common
   (package
     (name "ghc-http-common")
-- 
2.37.2


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

* bug#57862: [PATCHES] Add package ghc-hxt-xpath
  2022-09-16 13:58 [bug#57862] [PATCHES] Add package ghc-hxt-xpath Alice BRENON
@ 2022-10-08 11:07 ` Christopher Baines
  0 siblings, 0 replies; 2+ messages in thread
From: Christopher Baines @ 2022-10-08 11:07 UTC (permalink / raw)
  To: Alice BRENON; +Cc: 57862-done

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


Alice BRENON <alice.brenon@ens-lyon.fr> writes:

> I use the little time required to fix the display between two talks of
> the 10 years anniversary to submit this proposal for a new haskell
> package. It's an extension of the HXT library for XML made to handle
> XPaths.

Thanks Alice, I've pushed this to master as
14afaa5381b1185bf9e3701ff09c5bab12dacfab.

Chris

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

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

end of thread, other threads:[~2022-10-08 11:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-16 13:58 [bug#57862] [PATCHES] Add package ghc-hxt-xpath Alice BRENON
2022-10-08 11:07 ` bug#57862: " Christopher Baines

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).