From patchwork Fri Sep 16 13:58:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Alice BRENON X-Patchwork-Id: 42672 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id DF4D527BBEA; Fri, 16 Sep 2022 14:59:18 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=0.4 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_PASS autolearn=no autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 7E87527BBE9 for ; Fri, 16 Sep 2022 14:59:18 +0100 (BST) Received: from localhost ([::1]:54402 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oZBsD-0003Hu-Ly for patchwork@mira.cbaines.net; Fri, 16 Sep 2022 09:59:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39460) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZBry-0003Hm-7m for guix-patches@gnu.org; Fri, 16 Sep 2022 09:59:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44728) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oZBry-000874-0G for guix-patches@gnu.org; Fri, 16 Sep 2022 09:59:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oZBrx-00009d-RC for guix-patches@gnu.org; Fri, 16 Sep 2022 09:59:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57862] [PATCHES] Add package ghc-hxt-xpath Resent-From: Alice BRENON Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 16 Sep 2022 13:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57862 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57862@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.1663336728571 (code B ref -1); Fri, 16 Sep 2022 13:59:01 +0000 Received: (at submit) by debbugs.gnu.org; 16 Sep 2022 13:58:48 +0000 Received: from localhost ([127.0.0.1]:43806 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZBrj-000099-Ia for submit@debbugs.gnu.org; Fri, 16 Sep 2022 09:58:47 -0400 Received: from lists.gnu.org ([209.51.188.17]:50358) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZBrf-000090-VY for submit@debbugs.gnu.org; Fri, 16 Sep 2022 09:58:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60434) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZBrf-0003HW-QA for guix-patches@gnu.org; Fri, 16 Sep 2022 09:58:43 -0400 Received: from lxc-smtp2.ens-lyon.fr ([140.77.167.81]:55054) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oZBrd-000819-E8 for guix-patches@gnu.org; Fri, 16 Sep 2022 09:58:43 -0400 Received: from localhost (localhost [127.0.0.1]) by lxc-smtp2.ens-lyon.fr (Postfix) with ESMTP id 7B7CCE5334 for ; Fri, 16 Sep 2022 15:58:36 +0200 (CEST) X-Virus-Scanned: by amavisd-new-2.11.0 (20160426) (Debian) at ens-lyon.fr Received: from lxc-smtp2.ens-lyon.fr ([127.0.0.1]) by localhost (lxc-smtp2.ens-lyon.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id R8kJEgVaJ3ez for ; Fri, 16 Sep 2022 15:58:36 +0200 (CEST) Received: from localhost (fw-pmc.sorbonne-universite.fr [134.157.254.7]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (Client did not present a certificate) by lxc-smtp2.ens-lyon.fr (Postfix) with ESMTPSA id 697A2E5327 for ; Fri, 16 Sep 2022 15:58:36 +0200 (CEST) Date: Fri, 16 Sep 2022 15:58:35 +0200 From: Alice BRENON Message-ID: <20220916155835.4b1ae4cc@ens-lyon.fr> Organization: ENS de Lyon X-Mailer: Claws Mail 4.1.0 (GTK 3.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Received-SPF: pass client-ip=140.77.167.81; envelope-from=alice.brenon@ens-lyon.fr; helo=lxc-smtp2.ens-lyon.fr X-Spam_score_int: 14 X-Spam_score: 1.4 X-Spam_bar: + X-Spam_report: (1.4 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_SBL_CSS=3.335, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches 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 From 9efbd82e9c566a6523dc54356dd4981fe6fac789 Mon Sep 17 00:00:00 2001 From: Alice BRENON 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 ;;; Copyright © 2020 Alexandru-Sergiu Marton ;;; Copyright © 2020 Giacomo Leidi +;;; Copyright © 2022 Alice Brenon ;;; ;;; 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