all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jean-Pierre De Jesus DIAZ via Guix-patches via <guix-patches@gnu.org>
To: 63609@debbugs.gnu.org
Cc: Jean-Pierre De Jesus DIAZ <jean@foundationdevices.com>
Subject: [bug#63609] [PATCH 3/4] gnu: Add ocaml-pyml.
Date: Sun, 21 May 2023 13:34:16 +0200	[thread overview]
Message-ID: <20230521113417.76939-3-jean@foundationdevices.com> (raw)
In-Reply-To: <20230521113417.76939-1-jean@foundationdevices.com>

* gnu/packages/ocaml.ml (ocaml-pyml): New variable.

Signed-off-by: Jean-Pierre De Jesus DIAZ <jean@foundationdevices.com>
---
 gnu/packages/ocaml.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 0656abb610..ab0aa0574a 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -2735,6 +2735,40 @@ (define-public ocaml-parmap
                    (license:fsdg-compatible "file://LICENSE"
                                             "See LICENSE file for details")))))
 
+(define-public ocaml-pyml
+  ;; NOTE: Using commit from master branch as 20220905 does not support
+  ;; Python 3.10.
+  (let ((revision "0")
+        (commit "e33f4c49cc97e7bc6f8e5faaa64cce994470642e"))
+    (package
+      (name "ocaml-pyml")
+      (version (git-version "20220905" revision commit))
+      (source
+        (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/thierry-martinez/pyml")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "1v421i5cvj8mbgrg5cs78bz1yzdprm9r5r41niiy20d3j7j8jx9k"))))
+      (build-system dune-build-system)
+      (propagated-inputs
+       (list ocaml-stdcompat
+             python
+             python-numpy))
+      (home-page "https://github.com/thierry-martinez/pyml")
+      (synopsis "Python bindings for OCaml")
+      (description "Library that allows OCaml programs to interact with Python
+modules and objects.  The library also provides low-level bindings to the
+Python C API.
+
+This library is an alternative to @code{pycaml} which is no longer
+maintained.  The @code{Pycaml} module provides a signature close to
+@code{pycaml}, to ease migration of code to this library.")
+      (license license:bsd-2))))
+
 (define-public ocaml-react
   (package
     (name "ocaml-react")
-- 
2.34.1





  parent reply	other threads:[~2023-05-21 11:36 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-20 12:48 [bug#63609] [PATCH 0/4] gnu: Add coccinelle Jean-Pierre De Jesus DIAZ via Guix-patches via
2023-05-21 11:34 ` [bug#63609] [PATCH 1/4] gnu: Add ocaml-parmap Jean-Pierre De Jesus DIAZ via Guix-patches via
2023-05-21 11:34   ` [bug#63609] [PATCH 2/4] gnu: Add ocaml-stdcompat Jean-Pierre De Jesus DIAZ via Guix-patches via
2023-05-21 11:34   ` Jean-Pierre De Jesus DIAZ via Guix-patches via [this message]
2023-05-21 11:34   ` [bug#63609] [PATCH 4/4] gnu: Add coccinelle Jean-Pierre De Jesus DIAZ via Guix-patches via
2023-05-22 17:00   ` [bug#63609] [PATCH 1/4] gnu: Add ocaml-parmap Simon Tournier
2023-05-23 14:07     ` Jean-Pierre De Jesus Diaz via Guix-patches via
2023-06-02 14:49 ` bug#63609: [PATCH 0/4] gnu: Add coccinelle Ludovic Courtès

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

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

  git send-email \
    --in-reply-to=20230521113417.76939-3-jean@foundationdevices.com \
    --to=guix-patches@gnu.org \
    --cc=63609@debbugs.gnu.org \
    --cc=jean@foundationdevices.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.