[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/08: gnu: ocaml-ctypes: Update to 0.19.1.
From: |
guix-commits |
Subject: |
08/08: gnu: ocaml-ctypes: Update to 0.19.1. |
Date: |
Thu, 7 Oct 2021 21:32:18 -0400 (EDT) |
roptat pushed a commit to branch master
in repository guix.
commit a0804f44456ee49e4c50130df0daf32aaf8f5281
Author: Xinglu Chen <public@yoctocell.xyz>
AuthorDate: Tue Sep 28 21:18:32 2021 +0200
gnu: ocaml-ctypes: Update to 0.19.1.
* gnu/packages/ocaml.scm (ocaml-ctypes): Update to 0.19.1.
[arguments]<#:tests?>: Enable.
<#phases>{make-writable}: Simplify.
[inputs]: Remove ocaml-topkg and opam. Move ocaml-ounit and ocaml-lwt to
...
[native-inputs]: ... here.
Signed-off-by: Julien Lepiller <julien@lepiller.eu>
---
gnu/packages/ocaml.scm | 25 +++++++++----------------
1 file changed, 9 insertions(+), 16 deletions(-)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index dde02f2..98846ad 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -4014,7 +4014,7 @@ long and size_t whose sizes depend on the host platform.")
(define-public ocaml-ctypes
(package
(name "ocaml-ctypes")
- (version "0.18.0")
+ (version "0.19.1")
(home-page "https://github.com/ocamllabs/ocaml-ctypes")
(source (origin
(method git-fetch)
@@ -4024,34 +4024,27 @@ long and size_t whose sizes depend on the host
platform.")
(file-name (git-file-name name version))
(sha256
(base32
- "03zrbnl16m67ls0yfhq7a4k4238x6x6b3m456g4dw2yqwc153vks"))))
+ "1xi1a486gssrb23zln3sf7zn0rmyl1k684bdf9iqkhgpz607fq6s"))))
(build-system ocaml-build-system)
(arguments
- `(#:tests? #f; require an old lwt
- #:make-flags
+ `(#:make-flags
(list (string-append "INSTALL_HEADERS = $(wildcard
$($(PROJECT).dir)/*.h)"))
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'make-writable
(lambda _
- (for-each
- (lambda (file)
- (let ((stat (stat file)))
- (chmod file (+ #o200 (stat:mode stat)))))
- (find-files "." "."))
- #t))
+ (for-each make-file-writable
+ (find-files "."))))
(delete 'configure))))
(native-inputs
- `(("pkg-config" ,pkg-config)))
+ `(("pkg-config" ,pkg-config)
+ ("ounit" ,ocaml-ounit)
+ ("lwt" ,ocaml-lwt)))
(propagated-inputs
`(("bigarray-compat" ,ocaml-bigarray-compat)
("integers" ,ocaml-integers)))
(inputs
- `(("libffi" ,libffi)
- ("ounit" ,ocaml-ounit)
- ("lwt" ,ocaml-lwt)
- ("topkg" ,ocaml-topkg)
- ("opam" ,opam)))
+ `(("libffi" ,libffi)))
(synopsis "Library for binding to C libraries using pure OCaml")
(description "Ctypes is a library for binding to C libraries using pure
OCaml. The primary aim is to make writing C extensions as straightforward as
- branch master updated (0a34ba7 -> a0804f4), guix-commits, 2021/10/07
- 01/08: gnu: ocaml-alcotest: Update to 1.4.0., guix-commits, 2021/10/07
- 02/08: gnu: ocaml-cmdliner: Update to 1.0.4., guix-commits, 2021/10/07
- 04/08: gnu: ocaml-cppo: Update to 1.6.8., guix-commits, 2021/10/07
- 05/08: gnu: ocaml-uuidm: Update to 0.9.7., guix-commits, 2021/10/07
- 03/08: gnu: ocaml-extlib: Update to 1.7.8., guix-commits, 2021/10/07
- 06/08: gnu: ocaml-bigstringaf: Update to 0.8.0., guix-commits, 2021/10/07
- 07/08: gnu: ocaml-migrate-parsetree: Update to 2.2.0., guix-commits, 2021/10/07
- 08/08: gnu: ocaml-ctypes: Update to 0.19.1.,
guix-commits <=