[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#47768] [PATCH v2 42/43] gnu: ocaml-num: Update to 1.4.
From: |
pukkamustard |
Subject: |
[bug#47768] [PATCH v2 42/43] gnu: ocaml-num: Update to 1.4. |
Date: |
Mon, 10 May 2021 05:16:27 +0000 |
* gnu/packages/ocaml.scm (ocaml-num): Update to 1.4.
---
gnu/packages/ocaml.scm | 31 +++----------------------------
1 file changed, 3 insertions(+), 28 deletions(-)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index c4a024c850..349124c99e 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -958,7 +958,7 @@ written in Objective Caml.")
(define-public ocaml-num
(package
(name "ocaml-num")
- (version "1.1")
+ (version "1.4")
(source
(origin
(method git-fetch)
@@ -967,33 +967,8 @@ written in Objective Caml.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "0a4mhxgs5hi81d227aygjx35696314swas0vzy3ig809jb7zq4h0"))))
- (build-system ocaml-build-system)
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (delete 'configure)
- (add-before 'build 'fix-makefile
- (lambda* (#:key outputs #:allow-other-keys)
- ;; This package supposes we install to the same directory as
- ;; the ocaml package.
- (substitute* "src/META"
- (("\"\\^\"") (string-append "\"" (assoc-ref outputs "out")
- "/lib/ocaml/site-lib\"")))
- (substitute* "src/Makefile"
- (("\\) \\$\\(STDLIBDIR\\)")
- (string-append ") " (assoc-ref outputs "out")
- "/lib/ocaml/site-lib")))
- #t))
- (add-after 'install 'fix-stubslib
- (lambda* (#:key outputs #:allow-other-keys)
- (format #t "~a~%" (find-files "." ".*.so"))
- (let ((stubdir (string-append (assoc-ref outputs "out")
- "/lib/ocaml/site-lib/stublibs")))
- (delete-file stubdir)
- (mkdir-p stubdir)
- (install-file "src/dllnums.so" stubdir))
- #t)))))
+ (base32 "1vzdnvpj5dbj3ifx03v25pj2jj1ccav072v4d29pk1czdba2lzfc"))))
+ (build-system dune-build-system)
(home-page "https://github.com/ocaml/num")
(synopsis "Arbitrary-precision integer and rational arithmetic")
(description "OCaml-Num contains the legacy Num library for
--
2.31.1
- [bug#47768] [PATCH v2 32/43] gnu: Add ocaml-jst-config., (continued)
- [bug#47768] [PATCH v2 32/43] gnu: Add ocaml-jst-config., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 34/43] gnu: Add ocaml-time-now., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 25/43] gnu: Add ocaml-ppx-enumerate., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 36/43] gnu: Add ocaml-angstrom., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 35/43] gnu: Add ocaml-ppx-inline-test., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 27/43] gnu: Add ocaml-ppx-base., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 38/43] gnu: Add ocaml-graphics., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 28/43] gnu: Add ocaml-fieldslib., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 29/43] gnu: Add ocaml-ppx-fields-conv., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 41/43] gnu: Add ocaml-ppx-expect., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 42/43] gnu: ocaml-num: Update to 1.4.,
pukkamustard <=
- [bug#47768] [PATCH v2 18/43] gnu: Add ocaml-syntax-shims., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 31/43] gnu: Add ocaml-ppx-optional., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 37/43] gnu: Add ocaml-uri., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 24/43] gnu: Add ocaml-ppx-hash., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 16/43] gnu: Add ocaml-bigstringaf., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 26/43] gnu: Add ocaml-ppx-js-style., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 40/43] gnu: Add ocaml-ppx-variants-conv., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 39/43] gnu: Add ocaml-variantslib., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 43/43] gnu: Add ocaml-js-of-ocaml., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 00/43] Assorted OCaml patches (V2), Xinglu Chen, 2021/05/25