diff options
| author | Efraim Flashner <efraim@flashner.co.il> | 2026-03-24 11:57:37 +0200 |
|---|---|---|
| committer | Efraim Flashner <efraim@flashner.co.il> | 2026-03-24 11:58:47 +0200 |
| commit | 642382f87564a0959a95ebabd197842334751601 (patch) | |
| tree | a4f7837ddab4ed8dd50275fc21d2de55a89cb2d3 /gnu/packages | |
| parent | 6cb7df4070b59cd33d752dc3c1af2e119810df67 (diff) | |
gnu: ocaml-uunf: Use packaged unicode database.
* gnu/packages/ocaml.scm (ocaml-uunf)[native-inputs]: Remove
unicode-blocks, add ucd.
[arguments]: Adjust the 'check-data phase for change of inputs.
Change-Id: Ie9c386ed44304e764b698f95f182367c2e538731
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/ocaml.scm | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index c05cd8059e8..1007355a9a7 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -3986,23 +3986,14 @@ string values and to directly encode characters in OCaml Buffer.t values.") (("test/NormalizationTest.txt") "-")))) (add-before 'check 'check-data (lambda* (#:key inputs #:allow-other-keys) - (copy-file (assoc-ref inputs "NormalizationTest.txt") - "test/NormalizationTest.txt") - #t))))) + (copy-file (search-input-file inputs "share/ucd/NormalizationTest.txt") + "test/NormalizationTest.txt")))))) (native-inputs `(("ocamlbuild" ,ocamlbuild) ("opam-installer" ,opam-installer) ("topkg" ,ocaml-topkg) ;; Test data is otherwise downloaded with curl - ("NormalizationTest.txt" - ,(origin - (method url-fetch) - (uri (string-append "https://www.unicode.org/Public/" - version - "/ucd/NormalizationTest.txt")) - (file-name (string-append "NormalizationTest-" version ".txt")) - (sha256 - (base32 "09pkawfqpgy2xnv2nkkgmxv53rx4anprg65crbbcm02a2p6ci6pv")))))) + ("unicode" ,ucd))) (propagated-inputs (list ocaml-uutf)) (home-page "https://erratique.ch/software/uunf") (synopsis "Unicode text normalization for OCaml") |
