unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Liliana Marie Prikler <liliana.prikler@gmail.com>
To: "Anders Ågren Thuné" <anders@aathn.org>, 64400@debbugs.gnu.org
Subject: [bug#64400] [PATCH 1/5] gnu: Add ocaml-ISO8601.
Date: Tue, 11 Jul 2023 20:30:08 +0200	[thread overview]
Message-ID: <f6544b5ff6c6a70eb4c6f101360917c5112a43b1.camel@gmail.com> (raw)
In-Reply-To: <20230701174258.21019-1-anders@aathn.org>

Am Samstag, dem 01.07.2023 um 17:43 +0000 schrieb Anders Ågren Thuné:
> * gnu/packages/ocaml.scm (ocaml-ISO8601): New variable.
> ---
>  gnu/packages/ocaml.scm | 27 +++++++++++++++++++++++++++
>  1 file changed, 27 insertions(+)
> 
> diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
> index ab0aa0574a..abdf09bdc1 100644
> --- a/gnu/packages/ocaml.scm
> +++ b/gnu/packages/ocaml.scm
> @@ -29,6 +29,7 @@
>  ;;; Copyright © 2022 Garek Dyszel <garekdyszel@disroot.org>
>  ;;; Copyright © 2023 Csepp <raingloom@riseup.net>
>  ;;; Copyright © 2023 Foundation Devices, Inc.
> <hello@foundationdevices.com>
> +;;; Copyright © 2023 Anders Ågren Thuné <anders@aathn.org>
>  ;;;
>  ;;; This file is part of GNU Guix.
>  ;;;
> @@ -2699,6 +2700,32 @@ (define-public ocaml-ppx-tools
>  syntactic tools.")
>      (license license:expat)))
>  
> +(define-public ocaml-ISO8601
> +  ;; NOTE: Using commit from master branch as 0.2.6 uses the
> Pervasives
> +  ;; module in its tests, which is incompatible with OCaml 5.0.
> +  (let ((revision "0")
> +        (commit "ad50cb01061405623c834608c26f1ef2d44f8340"))
> +    (package
> +      (name "ocaml-ISO8601")
> +      (version (git-version "0.2.6" revision commit))
> +      (source (origin
> +                (method git-fetch)
> +                (uri (git-reference
> +                      (url
> "https://github.com/ocaml-community/ISO8601.ml")
> +                      (commit commit)))
> +                (file-name (git-file-name name version))
> +                (sha256
> +                 (base32
> +                 
> "1lvjrxz66b7dv40cbl8xyfv3x8nmwj0m5ipfvxc37mjaaf3xrr5g"))))
> +      (build-system dune-build-system)
> +      (propagated-inputs (list ocaml-odoc))
> +      (native-inputs (list ocaml-ounit))
> +      (home-page "https://github.com/ocaml-community/ISO8601.ml/")
> +      (synopsis "ISO 8601 and RFC 3339 date parsing for OCaml")
Can probably be shortened to "OCaml date parsing"
> +      (description
> +       "OCaml parser and printer for date-times in ISO8601 and RFC
> 3339")
The description should consist at least of one complete sentence.  The
typical go to pattern here if information is scarce is "this package
provides…" as in "This package provides an OCaml library with parsers
and printers for date times in ISO 8601 and RFC 3339 formats."

Cheers

      parent reply	other threads:[~2023-07-11 18:31 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-30 17:26 [bug#64400] [PATCH 0/5] Add ocaml-owl and ocaml-toml Anders Ågren Thuné
2023-07-01 17:43 ` [bug#64400] [PATCH 1/5] gnu: Add ocaml-ISO8601 Anders Ågren Thuné
2023-07-01 17:43   ` [bug#64400] [PATCH 2/5] gnu: Add ocaml-ocb Anders Ågren Thuné
2023-07-11 18:31     ` Liliana Marie Prikler
2023-07-01 17:43   ` [bug#64400] [PATCH 3/5] gnu: Add ocaml-npy Anders Ågren Thuné
2023-07-01 17:43   ` [bug#64400] [PATCH 4/5] gnu: Add ocaml-toml Anders Ågren Thuné
2023-07-01 17:43   ` [bug#64400] [PATCH 5/5] gnu: Add ocaml-owl Anders Ågren Thuné
2023-07-11 18:37     ` Liliana Marie Prikler
2023-07-11 18:30   ` Liliana Marie Prikler [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f6544b5ff6c6a70eb4c6f101360917c5112a43b1.camel@gmail.com \
    --to=liliana.prikler@gmail.com \
    --cc=64400@debbugs.gnu.org \
    --cc=anders@aathn.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).