GNU bug report logs -
#49867
[PATCH 00/29] gnu: Add ocaml-cohttp-lwt-unix.
Previous Next
Reported by: pukkamustard <pukkamustard <at> posteo.net>
Date: Wed, 4 Aug 2021 07:12:01 UTC
Severity: normal
Tags: patch
Done: pukkamustard <pukkamustard <at> posteo.net>
Bug is archived. No further changes may be made.
Full log
Message #107 received at 49867 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Wed, Aug 04 2021, pukkamustard wrote:
> * gnu/packages/ocaml.scm (ocaml-cstruct-unix): New variable.
> ---
> gnu/packages/ocaml.scm | 16 ++++++++++++++++
> 1 file changed, 16 insertions(+)
>
> diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
> index 6effe1ff12..a9a4c8a684 100644
> --- a/gnu/packages/ocaml.scm
> +++ b/gnu/packages/ocaml.scm
> @@ -3412,6 +3412,22 @@ to access C-like structures directly from OCaml. It supports both reading and
> writing to these structures, and they are accessed via the Bigarray module.")
> (license license:isc)))
>
> +(define-public ocaml-cstruct-unix
> + (package
> + (inherit ocaml-cstruct)
> + (name "ocaml-cstruct-unix")
> + (build-system dune-build-system)
> + (arguments
> + `(#:package "cstruct-unix"
> + #:test-target "."))
> + (propagated-inputs
> + `(("ocaml-cstruct" ,ocaml-cstruct)))
> + (synopsis "Unix variation of the @code{ocaml-cstruct} library for accessing C-like structures directly from OCaml")
Keep lines at around ~80 characters (applies to the description too).
Maybe drop the second half of the synopsis, so
"Unix variation of the @code{ocaml-cstruct} library"
The desciption already mentions “access C-like structures directly from
OCaml.”; the synopsis of ‘ocaml-cstruct’ also mentions “Access C
structures via a camlp4 extension”.
WDYT?
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 3 years and 249 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.