gnu: Add ocaml-charinfo-width.

* gnu/packages/ocaml.scm (ocaml-charinfo-width): New variable.
This commit is contained in:
Julien Lepiller 2019-09-03 22:43:07 +02:00
parent a468fc5e8c
commit e60330510a
No known key found for this signature in database
GPG Key ID: 43111F4520086A0C
1 changed files with 24 additions and 0 deletions

View File

@ -2984,6 +2984,30 @@ library is currently designed for Unicode Standard 3.2.")
;; with an exception for linked libraries to use a different license ;; with an exception for linked libraries to use a different license
(license license:lgpl2.0+))) (license license:lgpl2.0+)))
(define-public ocaml-charinfo-width
(package
(name "ocaml-charinfo-width")
(version "1.1.0")
(source (origin
(method url-fetch)
(uri "https://bitbucket.org/zandoye/charinfo_width/get/1.1.0.tar.gz")
(sha256
(base32
"00bv4p1yqs8y0z4z07wd9w9yyv669dikp9b04dcjbwpiy2wy0086"))))
(build-system dune-build-system)
(propagated-inputs
`(("ocaml-result" ,ocaml-result)
("ocaml-camomile" ,ocaml-camomile)))
(native-inputs
`(("ocaml-ppx-expect" ,ocaml-ppx-expect)))
(properties
`((upstream-name . "charInfo_width")))
(home-page "https://bitbucket.org/zandoye/charinfo_width/")
(synopsis "Determine column width for a character")
(description "This module is implements purely in OCaml a character width
function that follows the prototype of POSIX's wcwidth.")
(license license:expat)))
(define-public ocaml-zed (define-public ocaml-zed
(package (package
(name "ocaml-zed") (name "ocaml-zed")