From 4ccba48de14cc10f40abb1a5237749346222b6e7 Mon Sep 17 00:00:00 2001 From: Alice BRENON Date: Tue, 7 Feb 2023 11:05:47 +0100 Subject: gnu: Add ghc-hs-conllu. * gnu/packages/haskell-xyz (ghc-hs-conllu): New variable. Signed-off-by: Christopher Baines --- 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 b6c3a71045..86af842980 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 ;;; @@ -5427,6 +5427,26 @@ that interconverts between various bibliography formats using a common 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") -- cgit v1.2.3