From patchwork Tue Feb 7 18:42:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Alice BRENON X-Patchwork-Id: 46726 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 6778B167EB; Tue, 7 Feb 2023 18:43:19 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable 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 7DEE416546 for ; Tue, 7 Feb 2023 18:43:16 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pPSvr-0005oC-CI; Tue, 07 Feb 2023 13:43:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pPSvm-0005li-Rd for guix-patches@gnu.org; Tue, 07 Feb 2023 13:43:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pPSvm-0008Us-DW for guix-patches@gnu.org; Tue, 07 Feb 2023 13:43:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pPSvl-0004c1-SW for guix-patches@gnu.org; Tue, 07 Feb 2023 13:43:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61349] [PATCH] gnu: Add ghc-hs-conllu Resent-From: Alice BRENON Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 07 Feb 2023 18:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61349 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61349@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167579534017668 (code B ref -1); Tue, 07 Feb 2023 18:43:01 +0000 Received: (at submit) by debbugs.gnu.org; 7 Feb 2023 18:42:20 +0000 Received: from localhost ([127.0.0.1]:54050 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pPSv5-0004at-Qa for submit@debbugs.gnu.org; Tue, 07 Feb 2023 13:42:20 -0500 Received: from lists.gnu.org ([209.51.188.17]:49628) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pPSv3-0004al-PP for submit@debbugs.gnu.org; Tue, 07 Feb 2023 13:42:18 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pPSv3-0005LX-95 for guix-patches@gnu.org; Tue, 07 Feb 2023 13:42:17 -0500 Received: from lxc-smtp2.ens-lyon.fr ([140.77.167.81]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pPSv1-0008R1-2n for guix-patches@gnu.org; Tue, 07 Feb 2023 13:42:16 -0500 Received: from localhost (localhost [127.0.0.1]) by lxc-smtp2.ens-lyon.fr (Postfix) with ESMTP id 50023E37D4 for ; Tue, 7 Feb 2023 19:42:11 +0100 (CET) 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 ywK4qBfCV2Pj for ; Tue, 7 Feb 2023 19:42:11 +0100 (CET) Received: from localhost (unknown [78.194.167.103]) (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 3D9B5E37CF for ; Tue, 7 Feb 2023 19:42:10 +0100 (CET) Date: Tue, 7 Feb 2023 19:42:09 +0100 From: Alice BRENON Message-ID: <20230207194209.1fb88dd8@ens-lyon.fr> Organization: ENS de Lyon X-Mailer: Claws Mail 4.1.1 (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: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches Hey Guix ! I've discovered this haskell library to parse syntax-annotated files and found it useful so I packaged it for you. Hope you like it, Alice From d61965f2bc28b046c9d73a53ba727add8c3a0e1f Mon Sep 17 00:00:00 2001 From: Alice BRENON Date: Tue, 7 Feb 2023 11:05:47 +0100 Subject: [PATCH] gnu: Add ghc-hs-conllu * gnu/packages/haskell-xyz (ghc-hs-conllu): New variable --- gnu/packages/haskell-xyz.scm | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 79b4ae7bed..31284db7ee 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -28,7 +28,7 @@ ;;; Copyright © 2020 Alexandru-Sergiu Marton ;;; Copyright © 2020 Carlo Holl ;;; Copyright © 2020 Christine Lemmer-Webber -;;; Copyright © 2021, 2022 Alice BRENON +;;; Copyright © 2021–2023 Alice BRENON ;;; Copyright © 2021 John Kehayias ;;; Copyright © 2022 jgart ;;; @@ -5911,6 +5911,26 @@ (define-public ghc-hs-bibutils MODS-format XML intermediate.") (license license:gpl2+))) +(define-public ghc-hs-conllu + (package + (name "ghc-hs-conllu") + (version "0.1.5") + (source (origin + (method url-fetch) + (uri (hackage-uri "hs-conllu" version)) + (sha256 + (base32 + "1azh4g5kdng8v729ldgblkmrdqrc501rgm9wwqx6gkqwwzn8w3r4")))) + (build-system haskell-build-system) + (inputs (list ghc-megaparsec ghc-void)) + (home-page "https://github.com/arademaker/hs-conllu") + (synopsis "CoNLL-U validating parser and utils") + (description + "Utilities to parse, print, diff, and analyse data in CoNLL-U, a format +used in linguistics to represent the syntactic annotation of sentences. See +@url{https://universaldependencies.org/format.html}") + (license license:lgpl3))) + (define-public ghc-hslogger (package (name "ghc-hslogger") -- 2.39.1