From patchwork Mon Aug 29 07:07:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: pukkamustard X-Patchwork-Id: 42061 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 34BCD27BBEA; Mon, 29 Aug 2022 08:15:49 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id DED1827BBE9 for ; Mon, 29 Aug 2022 08:15:48 +0100 (BST) Received: from localhost ([::1]:45122 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oSYzs-000396-3V for patchwork@mira.cbaines.net; Mon, 29 Aug 2022 03:15:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48970) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oSYz9-00038j-Av for guix-patches@gnu.org; Mon, 29 Aug 2022 03:15:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41990) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oSYz8-00037u-QA for guix-patches@gnu.org; Mon, 29 Aug 2022 03:15:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oSYz8-0002rI-C7 for guix-patches@gnu.org; Mon, 29 Aug 2022 03:15:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57471] gnu: Add ocaml-guile. Resent-From: pukkamustard Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 29 Aug 2022 07:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57471 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 57471@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166175726410925 (code B ref -1); Mon, 29 Aug 2022 07:15:02 +0000 Received: (at submit) by debbugs.gnu.org; 29 Aug 2022 07:14:24 +0000 Received: from localhost ([127.0.0.1]:59972 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oSYyV-0002q7-MD for submit@debbugs.gnu.org; Mon, 29 Aug 2022 03:14:24 -0400 Received: from lists.gnu.org ([209.51.188.17]:45552) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oSYyT-0002q0-WE for submit@debbugs.gnu.org; Mon, 29 Aug 2022 03:14:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56086) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oSYyT-00037v-J5 for guix-patches@gnu.org; Mon, 29 Aug 2022 03:14:21 -0400 Received: from mout01.posteo.de ([185.67.36.65]:47909) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oSYyR-00035T-JW for guix-patches@gnu.org; Mon, 29 Aug 2022 03:14:21 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id AADFB240027 for ; Mon, 29 Aug 2022 09:14:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1661757255; bh=bdi0G5wTp2NdAFq6aifAyS4ljNIk/XG+DydG3rZ6/SE=; h=From:To:Subject:Date:From; b=Q3AOrxedFL1+TXOcYUkcgOjg3iwQr8BnkExmj+EaOpYlIa53RDm7Qo71DWxKkHxtS OWi9KwzmFXc5IablwrO7rFey1TLXpdvh3HgoUB5d620ulR7vP39WwBCroq4xUBsLVM GJ84+6QgSzJLvuvoGjvttnW96O1dhY4bcpn4Zq5iuteIiLf0rJ4LWqzfGzAsAVq6xi AXhKYDuxh7SAqXT9VCtjuK10y2npNqpQYFL9fUB3qwsMAqY+ABBhzRS6ggy6zniCUN MECZGsYnq5iaR6oKj9GsMBcP7/3So8VHDwJoo8InKUXnnB1HLD5SoKNBSOYO0atMr7 U9fD4tc9bVZsQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4MGMBG6HZPz6tpW for ; Mon, 29 Aug 2022 09:14:13 +0200 (CEST) From: pukkamustard Date: Mon, 29 Aug 2022 07:07:59 +0000 Message-ID: <86ilmb4j3u.fsf@posteo.net> MIME-Version: 1.0 Received-SPF: pass client-ip=185.67.36.65; envelope-from=pukkamustard@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hello Guix, This patch adds ocaml-guile, providing OCaml bindings to Guile. I think this allows pretty cool combinations of OCaml and Guile code! Cheers, pukkamustard From 0c7bb35ea9304d6dc20a484513f68c841c54670c Mon Sep 17 00:00:00 2001 From: pukkamustard Date: Mon, 29 Aug 2022 09:06:58 +0200 Subject: [PATCH] gnu: Add ocaml-guile. * gnu/packages/ocaml.scm (ocaml-guile): New variable. --- gnu/packages/ocaml.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 0e8e5b2adc..2fd519ca41 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -8741,3 +8741,36 @@ (define-public ocaml-bibtex2html (description "This package allows you to produce, from a set of bibliography files in BibTeX format, a bibliography in HTML format.") (license license:gpl2))) + +(define-public ocaml-guile + (package + (name "ocaml-guile") + (version "1.0") + (home-page "https://github.com/gopiandcode/guile-ocaml") + (source + (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0yxdkrhrrbwvay5sn0p26rh3f11876k6kdharmpi4afxknml74ql")))) + (build-system dune-build-system) + (arguments + `(#:tests? #f)) ; no tests + (propagated-inputs + (list ocaml-sexplib + ocaml-ctypes + ocaml-stdio + ocaml-odoc)) + (inputs (list guile-3.0 libffi)) + (native-inputs + (list ocaml-odoc + pkg-config)) + (synopsis "Bindings to GNU Guile Scheme for OCaml") + (description + "The OCaml guile library provides high-level OCaml bindings to GNU Guile +3.0, supporting easy interop between OCaml and GNU Guile Scheme.") + (license license:gpl3+))) -- 2.37.1