[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
15/17: gnu: Add ocaml-pyml.
From: |
guix-commits |
Subject: |
15/17: gnu: Add ocaml-pyml. |
Date: |
Fri, 2 Jun 2023 11:24:04 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 5461ff1e54f183e73fa642d25a2fe5d181df642f
Author: Jean-Pierre De Jesus DIAZ <jean@foundationdevices.com>
AuthorDate: Sun May 21 13:34:16 2023 +0200
gnu: Add ocaml-pyml.
* gnu/packages/ocaml.ml (ocaml-pyml): New variable.
Signed-off-by: Jean-Pierre De Jesus DIAZ <jean@foundationdevices.com>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
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 @@ parameter @code{ncores}.")
(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")
- 02/17: read-print: Add 'package/inherit' special form., (continued)
- 02/17: read-print: Add 'package/inherit' special form., guix-commits, 2023/06/02
- 04/17: gnu: cpp-mustache: Update to 5.0 to fix build., guix-commits, 2023/06/02
- 10/17: tests: Check for service existence in MODIFY-SERVICES, guix-commits, 2023/06/02
- 11/17: services: Error in MODIFY-SERVICES when services don't exist, guix-commits, 2023/06/02
- 13/17: gnu: Add ocaml-parmap., guix-commits, 2023/06/02
- 14/17: gnu: Add ocaml-stdcompat., guix-commits, 2023/06/02
- 06/17: gnu: python-ipython-documentation: Remove patches., guix-commits, 2023/06/02
- 07/17: gnu: python-ipython-documentation: Update dependencies., guix-commits, 2023/06/02
- 09/17: tests: Add tests for MODIFY-SERVICES procedure, guix-commits, 2023/06/02
- 12/17: gnu: Add tmux-plugin-mem-cpu-load., guix-commits, 2023/06/02
- 15/17: gnu: Add ocaml-pyml.,
guix-commits <=
- 17/17: environment: Fix unbound-variable bug with '--symlink'., guix-commits, 2023/06/02
- 16/17: gnu: Add coccinelle., guix-commits, 2023/06/02