GNU bug report logs - #57471
gnu: Add ocaml-guile.

Previous Next

Package: guix-patches;

Reported by: pukkamustard <pukkamustard <at> posteo.net>

Date: Mon, 29 Aug 2022 07:15:02 UTC

Severity: normal

Done: Julien Lepiller <julien <at> lepiller.eu>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 57471 in the body.
You can then email your comments to 57471 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#57471; Package guix-patches. (Mon, 29 Aug 2022 07:15:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to pukkamustard <pukkamustard <at> posteo.net>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 29 Aug 2022 07:15:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: pukkamustard <pukkamustard <at> posteo.net>
To: guix-patches <at> gnu.org
Subject: gnu: Add ocaml-guile.
Date: Mon, 29 Aug 2022 07:07:59 +0000
[Message part 1 (text/plain, inline)]
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

[0001-gnu-Add-ocaml-guile.patch (text/x-patch, inline)]
From 0c7bb35ea9304d6dc20a484513f68c841c54670c Mon Sep 17 00:00:00 2001
From: pukkamustard <pukkamustard <at> posteo.net>
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


Information forwarded to guix-patches <at> gnu.org:
bug#57471; Package guix-patches. (Sat, 03 Sep 2022 18:24:02 GMT) Full text and rfc822 format available.

Message #8 received at 57471 <at> debbugs.gnu.org (full text, mbox):

From: Julien Lepiller <julien <at> lepiller.eu>
To: pukkamustard <pukkamustard <at> posteo.net>
Cc: 57471 <at> debbugs.gnu.org
Subject: Re: [bug#57471] gnu: Add ocaml-guile.
Date: Sat, 3 Sep 2022 20:23:20 +0200
Pushed to master as 5cd7d7b3a27759fbaa990cbd81d8fbf4258691e0, thanks!

(and now I notice I forgot to sign it off)

Le Mon, 29 Aug 2022 07:07:59 +0000,
pukkamustard <pukkamustard <at> posteo.net> a écrit :

> 
> 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
> 





Reply sent to Julien Lepiller <julien <at> lepiller.eu>:
You have taken responsibility. (Sat, 03 Sep 2022 18:42:01 GMT) Full text and rfc822 format available.

Notification sent to pukkamustard <pukkamustard <at> posteo.net>:
bug acknowledged by developer. (Sat, 03 Sep 2022 18:42:01 GMT) Full text and rfc822 format available.

Message #13 received at 57471-done <at> debbugs.gnu.org (full text, mbox):

From: Julien Lepiller <julien <at> lepiller.eu>
To: 57471-done <at> debbugs.gnu.org
Subject: Re: [bug#57471] gnu: Add ocaml-guile.
Date: Sat, 3 Sep 2022 20:41:18 +0200
and forgot to close it, sorry for the noise.

Le Sat, 3 Sep 2022 20:23:20 +0200,
Julien Lepiller <julien <at> lepiller.eu> a écrit :

> Pushed to master as 5cd7d7b3a27759fbaa990cbd81d8fbf4258691e0, thanks!
> 
> (and now I notice I forgot to sign it off)
> 
> Le Mon, 29 Aug 2022 07:07:59 +0000,
> pukkamustard <pukkamustard <at> posteo.net> a écrit :
> 
> > 
> > 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
> >   
> 
> 
> 
> 





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 02 Oct 2022 11:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 207 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.