* [bug#57471] gnu: Add ocaml-guile.
@ 2022-08-29 7:07 pukkamustard
2022-09-03 18:23 ` Julien Lepiller
0 siblings, 1 reply; 3+ messages in thread
From: pukkamustard @ 2022-08-29 7:07 UTC (permalink / raw)
To: 57471
[-- Attachment #1: Type: text/plain, Size: 172 bytes --]
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
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-ocaml-guile.patch --]
[-- Type: text/x-patch, Size: 1760 bytes --]
From 0c7bb35ea9304d6dc20a484513f68c841c54670c Mon Sep 17 00:00:00 2001
From: pukkamustard <pukkamustard@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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [bug#57471] gnu: Add ocaml-guile.
2022-08-29 7:07 [bug#57471] gnu: Add ocaml-guile pukkamustard
@ 2022-09-03 18:23 ` Julien Lepiller
2022-09-03 18:41 ` bug#57471: " Julien Lepiller
0 siblings, 1 reply; 3+ messages in thread
From: Julien Lepiller @ 2022-09-03 18:23 UTC (permalink / raw)
To: pukkamustard; +Cc: 57471
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@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
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#57471: gnu: Add ocaml-guile.
2022-09-03 18:23 ` Julien Lepiller
@ 2022-09-03 18:41 ` Julien Lepiller
0 siblings, 0 replies; 3+ messages in thread
From: Julien Lepiller @ 2022-09-03 18:41 UTC (permalink / raw)
To: 57471-done
and forgot to close it, sorry for the noise.
Le Sat, 3 Sep 2022 20:23:20 +0200,
Julien Lepiller <julien@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@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
> >
>
>
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-09-03 18:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-29 7:07 [bug#57471] gnu: Add ocaml-guile pukkamustard
2022-09-03 18:23 ` Julien Lepiller
2022-09-03 18:41 ` bug#57471: " Julien Lepiller
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.