gnu: Add ghc-hs-conllu.

* gnu/packages/haskell-xyz (ghc-hs-conllu): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
Alice BRENON 2023-02-07 11:05:47 +01:00 committed by Christopher Baines
parent 9a4dd01f1d
commit 4ccba48de1
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -28,7 +28,7 @@
;;; Copyright © 2020 Alexandru-Sergiu Marton <brown121407@member.fsf.org> ;;; Copyright © 2020 Alexandru-Sergiu Marton <brown121407@member.fsf.org>
;;; Copyright © 2020 Carlo Holl <carloholl@gmail.com> ;;; Copyright © 2020 Carlo Holl <carloholl@gmail.com>
;;; Copyright © 2020 Christine Lemmer-Webber <cwebber@dustycloud.org> ;;; Copyright © 2020 Christine Lemmer-Webber <cwebber@dustycloud.org>
;;; Copyright © 2021, 2022 Alice BRENON <alice.brenon@ens-lyon.fr> ;;; Copyright © 20212023 Alice BRENON <alice.brenon@ens-lyon.fr>
;;; Copyright © 2021 John Kehayias <john.kehayias@protonmail.com> ;;; Copyright © 2021 John Kehayias <john.kehayias@protonmail.com>
;;; Copyright © 2022 jgart <jgart@dismail.de> ;;; Copyright © 2022 jgart <jgart@dismail.de>
;;; ;;;
@ -5427,6 +5427,26 @@ (define-public ghc-hs-bibutils
MODS-format XML intermediate.") MODS-format XML intermediate.")
(license license:gpl2+))) (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 (define-public ghc-hslogger
(package (package
(name "ghc-hslogger") (name "ghc-hslogger")