mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: ocaml-charinfo-width: Fix source to get 'LICENSE' file.
* gnu/packages/ocaml.scm (ocaml-charinfo-width): Replace 'url-fetch' by 'git-fetch' and update to unreleased commit. Signed-off-by: Julien Lepiller <julien@lepiller.eu>
This commit is contained in:
parent
ec861f6964
commit
f73a39e0da
1 changed files with 26 additions and 23 deletions
|
@ -3992,30 +3992,33 @@ library is currently designed for Unicode Standard 3.2.")
|
||||||
(license license:lgpl2.0+)))
|
(license license:lgpl2.0+)))
|
||||||
|
|
||||||
(define-public ocaml-charinfo-width
|
(define-public ocaml-charinfo-width
|
||||||
(package
|
;; Add LICENSE file and Dune tests
|
||||||
(name "ocaml-charinfo-width")
|
(let ((commit "20aaaa6dca8f1e0b1ace55b6f2a8ba5e5910b620"))
|
||||||
(version "1.1.0")
|
(package
|
||||||
(source (origin
|
(name "ocaml-charinfo-width")
|
||||||
(method url-fetch)
|
(version (git-version "1.1.0" "1" commit))
|
||||||
(uri (string-append "https://bitbucket.org/zandoye/charinfo_width"
|
(home-page "https://github.com/kandu/charinfo_width/")
|
||||||
"/get/" version ".tar.gz"))
|
(source (origin
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(method git-fetch)
|
||||||
(sha256
|
(uri (git-reference
|
||||||
(base32
|
(url home-page)
|
||||||
"00bv4p1yqs8y0z4z07wd9w9yyv669dikp9b04dcjbwpiy2wy0086"))))
|
(commit commit)))
|
||||||
(build-system dune-build-system)
|
(file-name (git-file-name name version))
|
||||||
(propagated-inputs
|
(sha256
|
||||||
`(("ocaml-result" ,ocaml-result)
|
(base32
|
||||||
("ocaml-camomile" ,ocaml-camomile)))
|
"04gil5hxm2jax9paw3i24d8zyzhyl5cphzfyryvy2lcrm3c485q0"))))
|
||||||
(native-inputs
|
(build-system dune-build-system)
|
||||||
`(("ocaml-ppx-expect" ,ocaml-ppx-expect)))
|
(propagated-inputs
|
||||||
(properties
|
`(("ocaml-result" ,ocaml-result)
|
||||||
`((upstream-name . "charInfo_width")))
|
("ocaml-camomile" ,ocaml-camomile)))
|
||||||
(home-page "https://bitbucket.org/zandoye/charinfo_width/")
|
(native-inputs
|
||||||
(synopsis "Determine column width for a character")
|
`(("ocaml-ppx-expect" ,ocaml-ppx-expect)))
|
||||||
(description "This module is implements purely in OCaml a character width
|
(properties
|
||||||
|
`((upstream-name . "charInfo_width")))
|
||||||
|
(synopsis "Determine column width for a character")
|
||||||
|
(description "This module implements purely in OCaml a character width
|
||||||
function that follows the prototype of POSIX's wcwidth.")
|
function that follows the prototype of POSIX's wcwidth.")
|
||||||
(license license:expat)))
|
(license license:expat))))
|
||||||
|
|
||||||
(define-public ocaml4.07-zed
|
(define-public ocaml4.07-zed
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue