[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
21/22: gnu: ocaml-num: Update to 1.4.
From: |
guix-commits |
Subject: |
21/22: gnu: ocaml-num: Update to 1.4. |
Date: |
Sun, 13 Jun 2021 11:16:23 -0400 (EDT) |
roptat pushed a commit to branch master
in repository guix.
commit a8d460b3696ac3ca1ed5fb0fc208a7e1ba3da9b8
Author: pukkamustard <pukkamustard@posteo.net>
AuthorDate: Tue Jun 1 20:23:24 2021 +0000
gnu: ocaml-num: Update to 1.4.
* gnu/packages/ocaml.scm (ocaml-num): Update to 1.4.
Signed-off-by: Julien Lepiller <julien@lepiller.eu>
---
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 a736eb3..765c021 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -957,7 +957,7 @@ written in Objective Caml.")
(define-public ocaml-num
(package
(name "ocaml-num")
- (version "1.1")
+ (version "1.4")
(source
(origin
(method git-fetch)
@@ -966,33 +966,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
- 05/22: gnu: Add ocaml-ppx-js-style., (continued)
- 05/22: gnu: Add ocaml-ppx-js-style., guix-commits, 2021/06/13
- 09/22: gnu: Add ocaml-ppx-optcomp, guix-commits, 2021/06/13
- 14/22: gnu: Add ocaml-ppx-inline-test., guix-commits, 2021/06/13
- 12/22: gnu: Add ocaml-jane-street-headers., guix-commits, 2021/06/13
- 22/22: gnu: Add ocaml-js-of-ocaml., guix-commits, 2021/06/13
- 17/22: gnu: Add ocaml-graphics., guix-commits, 2021/06/13
- 15/22: gnu: Add ocaml-angstrom., guix-commits, 2021/06/13
- 20/22: gnu: Add ocaml-ppx-expect., guix-commits, 2021/06/13
- 13/22: gnu: Add ocaml-time-now., guix-commits, 2021/06/13
- 18/22: gnu: Add ocaml-variantslib., guix-commits, 2021/06/13
- 21/22: gnu: ocaml-num: Update to 1.4.,
guix-commits <=
- 19/22: gnu: Add ocaml-ppx-variants-conv., guix-commits, 2021/06/13