mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 06:18:07 -05:00
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>
This commit is contained in:
parent
4017fae4e0
commit
5461ff1e54
1 changed files with 34 additions and 0 deletions
|
@ -2735,6 +2735,40 @@ (define-public ocaml-parmap
|
||||||
(license:fsdg-compatible "file://LICENSE"
|
(license:fsdg-compatible "file://LICENSE"
|
||||||
"See LICENSE file for details")))))
|
"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
|
(define-public ocaml-react
|
||||||
(package
|
(package
|
||||||
(name "ocaml-react")
|
(name "ocaml-react")
|
||||||
|
|
Loading…
Reference in a new issue