[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#52039] [PATCH v2 4/7] gnu: ocaml-charinfo-width: Fix source to get
From: |
zimoun |
Subject: |
[bug#52039] [PATCH v2 4/7] gnu: ocaml-charinfo-width: Fix source to get 'LICENSE' file. |
Date: |
Mon, 22 Nov 2021 18:36:59 +0100 |
* gnu/packages/ocaml.scm (ocaml-charinfo-width): Replace 'url-fetch' by
'git-fetch' and update to unreleased commit.
---
gnu/packages/ocaml.scm | 49 ++++++++++++++++++++++--------------------
1 file changed, 26 insertions(+), 23 deletions(-)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 82670fec7f..92ace48abb 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -3992,30 +3992,33 @@ (define-public ocaml-camomile
(license license:lgpl2.0+)))
(define-public ocaml-charinfo-width
- (package
- (name "ocaml-charinfo-width")
- (version "1.1.0")
- (source (origin
- (method url-fetch)
- (uri (string-append
"https://bitbucket.org/zandoye/charinfo_width"
- "/get/" version ".tar.gz"))
- (file-name (string-append name "-" version ".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
+ ;; Add LICENSE file and Dune tests
+ (let ((commit "20aaaa6dca8f1e0b1ace55b6f2a8ba5e5910b620"))
+ (package
+ (name "ocaml-charinfo-width")
+ (version (git-version "1.1.0" "1" commit))
+ (home-page "https://github.com/kandu/charinfo_width/")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "04gil5hxm2jax9paw3i24d8zyzhyl5cphzfyryvy2lcrm3c485q0"))))
+ (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")))
+ (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)))
+ (license license:expat))))
(define-public ocaml4.07-zed
(package
--
2.32.0
- [bug#52039] [PATCH 0/7] Add utop., zimoun, 2021/11/22
- [bug#52039] [PATCH 1/7] gnu: Add ocaml-trie., zimoun, 2021/11/22
- [bug#52039] [PATCH 2/7] gnu: Add ocaml-mew., zimoun, 2021/11/22
- [bug#52039] [PATCH 3/7] gnu: Add ocaml-mew-vi., zimoun, 2021/11/22
- [bug#52039] [PATCH 4/7] gnu: ocaml-charinfo-width: Fix source to get 'LICENSE' file., zimoun, 2021/11/22
- [bug#52039] [PATCH 5/7] gnu: Add ocaml-zed., zimoun, 2021/11/22
- [bug#52039] [PATCH 6/7] gnu: Add ocaml-lambda-term., zimoun, 2021/11/22
- [bug#52039] [PATCH 7/7] gnu: Add ocaml-utop., zimoun, 2021/11/22
- [bug#52039] [PATCH v2 1/7] gnu: Add ocaml-trie., zimoun, 2021/11/22
- [bug#52039] [PATCH v2 3/7] gnu: Add ocaml-mew-vi., zimoun, 2021/11/22
- [bug#52039] [PATCH v2 4/7] gnu: ocaml-charinfo-width: Fix source to get 'LICENSE' file.,
zimoun <=
- [bug#52039] [PATCH v2 5/7] gnu: Add ocaml-zed., zimoun, 2021/11/22
- [bug#52039] [PATCH v2 6/7] gnu: Add ocaml-lambda-term., zimoun, 2021/11/22
- [bug#52039] [PATCH v2 7/7] gnu: Add ocaml-utop., zimoun, 2021/11/22
- [bug#52039] [PATCH v2 2/7] gnu: Add ocaml-mew., zimoun, 2021/11/22
- bug#52039: [PATCH 0/7] Add utop., Julien Lepiller, 2021/11/23