all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#61349] [PATCH] gnu: Add ghc-hs-conllu
@ 2023-02-07 18:42 Alice BRENON
  2023-03-01 15:53 ` bug#61349: " Christopher Baines
  0 siblings, 1 reply; 2+ messages in thread
From: Alice BRENON @ 2023-02-07 18:42 UTC (permalink / raw)
  To: 61349

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

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

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

From d61965f2bc28b046c9d73a53ba727add8c3a0e1f Mon Sep 17 00:00:00 2001
From: Alice BRENON <alice.brenon@ens-lyon.fr>
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 <brown121407@member.fsf.org>
 ;;; Copyright © 2020 Carlo Holl <carloholl@gmail.com>
 ;;; Copyright © 2020 Christine Lemmer-Webber <cwebber@dustycloud.org>
-;;; Copyright © 2021, 2022 Alice BRENON <alice.brenon@ens-lyon.fr>
+;;; Copyright © 2021–2023 Alice BRENON <alice.brenon@ens-lyon.fr>
 ;;; Copyright © 2021 John Kehayias <john.kehayias@protonmail.com>
 ;;; Copyright © 2022 jgart <jgart@dismail.de>
 ;;;
@@ -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


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

* bug#61349: [PATCH] gnu: Add ghc-hs-conllu
  2023-02-07 18:42 [bug#61349] [PATCH] gnu: Add ghc-hs-conllu Alice BRENON
@ 2023-03-01 15:53 ` Christopher Baines
  0 siblings, 0 replies; 2+ messages in thread
From: Christopher Baines @ 2023-03-01 15:53 UTC (permalink / raw)
  To: Alice BRENON; +Cc: 61349-done

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


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

> Hey Guix !
>
> I've discovered this haskell library to parse syntax-annotated files and found
> it useful so I packaged it for you.

Thanks, I've pushed this to master as
4ccba48de14cc10f40abb1a5237749346222b6e7.

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:[~2023-03-01 15:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-07 18:42 [bug#61349] [PATCH] gnu: Add ghc-hs-conllu Alice BRENON
2023-03-01 15:53 ` bug#61349: " Christopher Baines

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.