From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id ePDyCDICamRJZAAASxT56A (envelope-from ) for ; Sun, 21 May 2023 13:36:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id EETaCDICamTtggEA9RJhRA (envelope-from ) for ; Sun, 21 May 2023 13:36:18 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D980725952 for ; Sun, 21 May 2023 13:36:17 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q0hM7-0002Fb-FF; Sun, 21 May 2023 07:36:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q0hM2-0002EZ-H6 for guix-patches@gnu.org; Sun, 21 May 2023 07:36:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q0hM2-0008WH-5a for guix-patches@gnu.org; Sun, 21 May 2023 07:36:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q0hM2-0001qp-21 for guix-patches@gnu.org; Sun, 21 May 2023 07:36:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63609] [PATCH 3/4] gnu: Add ocaml-pyml. Resent-From: Jean-Pierre De Jesus DIAZ Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 21 May 2023 11:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63609 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63609@debbugs.gnu.org Cc: Jean-Pierre De Jesus DIAZ Received: via spool by 63609-submit@debbugs.gnu.org id=B63609.16846689217048 (code B ref 63609); Sun, 21 May 2023 11:36:02 +0000 Received: (at 63609) by debbugs.gnu.org; 21 May 2023 11:35:21 +0000 Received: from localhost ([127.0.0.1]:60146 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0hLN-0001pW-3L for submit@debbugs.gnu.org; Sun, 21 May 2023 07:35:21 -0400 Received: from mail-wr1-f52.google.com ([209.85.221.52]:54779) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0hLL-0001p1-Ea for 63609@debbugs.gnu.org; Sun, 21 May 2023 07:35:20 -0400 Received: by mail-wr1-f52.google.com with SMTP id ffacd0b85a97d-3093eb8cd1fso3004149f8f.1 for <63609@debbugs.gnu.org>; Sun, 21 May 2023 04:35:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foundationdevices.com; s=google; t=1684668913; x=1687260913; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=54nCOIa2/t8gyYZhbaLZLGTdn5lyOOY58FMDAcoduAM=; b=NLAD+YxU8Vx7NScDGbrcKg6quBnhCL4kCkxJSPh3alukREM+QnFV1jnpHMq0yNI+SA 9cG2niQm699NoZQPxVgaaLbXJjxXI20VEMsYCZAd5K27h6UACnGUQydnIm/DxyS7kjjI itJzA6t+duN7XJtha/qPpwzgTptWvcer4pHbsD6XF434MsWlxJ6ZhWl1X1FS011+8OId EfzajkXO0fPu68BQECNnjUiJhXMoFfYLjzt5yIt4t159Tzf5ODkOwIYne/wH5prZ4UtQ 3rJMrLFgVqWbYOHu2/Qdl2GlfitRDBipcEtXM4umrNBpmwqfHXqmGVdrpAIoEFMuSo/q mw7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684668913; x=1687260913; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=54nCOIa2/t8gyYZhbaLZLGTdn5lyOOY58FMDAcoduAM=; b=Udf7YEbW+5qp/vWaU36LAsa8X0p0GIQ/WQN9sYBbWlrRezjB6RDoEXxubNkuJf7TE4 hOBm4rBk+VIE8vXbFAaEZ42j4nXjO9oSYvPaFNy5Dvv1cXVrVokVMhLVGfhWu/gHmxa5 RfaCFnPX5GxdvDr0XzyReBR2OAq3dhiWVoa298JCbzSE9gQznpbWey2BcM6IHd9xY8wX 7HsD3Le1i5bxHAEbhtsiWBvh5DGjSnhBcZkbtJ2GyoozHIw4LdflC0oLKjS+YKgTjtYt d26bbNN5BXkmVHwwLRt2O5OYlg9gmz+Zodbu/RPIkdrUJPVtg39ZNPm3VRPoP8BXQntk NsSg== X-Gm-Message-State: AC+VfDyXtGOL6jz0oad/Wcz/W0AJeYJ+ZanpzbNg1ksMyr5LoR8ZRnRl wwwFL+Az5UWBA/sKGCx1RRC01xh+C5FbA87/iCVO3A== X-Google-Smtp-Source: ACHHUZ5mafgY8EIw9M2OQgq28459X65mTzvQc7R//XcKSRQN9vjd+QRLRznvqUkW3fPXeJ8qOU2gDw== X-Received: by 2002:adf:db4c:0:b0:306:3bf0:f1ec with SMTP id f12-20020adfdb4c000000b003063bf0f1ecmr5681965wrj.7.1684668913583; Sun, 21 May 2023 04:35:13 -0700 (PDT) Received: from omen15.home ([89.131.29.87]) by smtp.gmail.com with ESMTPSA id l20-20020a7bc454000000b003f42e008c8dsm8153124wmi.44.2023.05.21.04.35.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 May 2023 04:35:13 -0700 (PDT) Date: Sun, 21 May 2023 13:34:16 +0200 Message-Id: <20230521113417.76939-3-jean@foundationdevices.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230521113417.76939-1-jean@foundationdevices.com> References: <20230521113417.76939-1-jean@foundationdevices.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Jean-Pierre De Jesus DIAZ X-ACL-Warn: , Jean-Pierre De Jesus DIAZ via Guix-patches From: Jean-Pierre De Jesus DIAZ via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1684668977; a=rsa-sha256; cv=none; b=DQ5VdSEMEOwBtM/fIL3kLRrGHez1kW98oBDZtq4R0EzXnuI9dun1ok7XTUFpIRo3YgOy0P AddtRMuLfsQxXUvtbLmZ7KJMiHDPAV1YJ2tVyk3Fz8Svc7KbDAcQEW/Adiv1JdDtryTEme 7wt/MiHWMr0PwPw7U3wGhuHKgSpWvEGQr8Qo6cY6oMCZYSt5qIhfO3kqke0170EVThRG2X YzVKuq8P+BIvGbTpOiRgaodrzrKPP6isVPkec2XoGQW7hGXjAdHB8cXb+3CZuK2VP+sF5G LZfxjLJCIw64TR3w0LMCDbqr52tV96IdrPBgUjKqWbPR4cNA9zmMnY7pj27N4Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=foundationdevices.com header.s=google header.b=NLAD+YxU; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1684668977; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=54nCOIa2/t8gyYZhbaLZLGTdn5lyOOY58FMDAcoduAM=; b=raiFQiQPLm1Pu8crkb79rBJQ8Q5M6B4mI9RWau/d80syld+TH832kU5+S28tEbgj3Y3zsY gLLxa3+/oR25TYJjZ6yqVRpNoqlN8PaqI35zfIgWhJP2Emog2d9h7EQHpgtuKd4EIw/aJ9 8vs8DINetrzCRQlvsnyXLvQw918vY6DPXoDoPhxxNdWXGaQTjT9dHbaKfvQuCp/xUSBYZC uJD72fHxHe1QU+Ocahq8pgSYNYIf8Mj2XEeOX1zhZjQYOzKGrUxZJKpQ9gyD8/DD9fBKUv 8RAPkhyK/JYOVzcukC8YrSk7xGak71apygLPJx5aNeM6ApJNj0s3qK2vkUlhuA== X-Migadu-Spam-Score: -3.01 X-Spam-Score: -3.01 X-Migadu-Queue-Id: D980725952 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=foundationdevices.com header.s=google header.b=NLAD+YxU; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-TUID: y3CfA6Sk79Pc * gnu/packages/ocaml.ml (ocaml-pyml): New variable. Signed-off-by: Jean-Pierre De Jesus DIAZ --- 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