[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#60677] [PATCH 07/39] gnu: Add ocaml-functoria-runtime
From: |
Csepp |
Subject: |
[bug#60677] [PATCH 07/39] gnu: Add ocaml-functoria-runtime |
Date: |
Mon, 9 Jan 2023 01:34:57 +0100 |
From: raingloom <raingloom@riseup.net>
* gnu/packages/ocaml.scm (mirage-version, mirage-origin,
ocaml-functoria-runtime): New variables.
---
gnu/packages/ocaml.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 034924d9ff..1cc930292c 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -3682,6 +3682,41 @@ (define-public ocaml-emile
according RFC2047.")
(license license:expat)))
+(define-public ocaml-functoria-runtime
+ (package
+ (name "ocaml-functoria-runtime")
+ (version "4.3.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri
+ (git-reference
+ (url "https://github.com/mirage/mirage/")
+ (commit (string-append "v" version))))
+ ;; TODO this origin is used by multiple packages, so what should the
name
+ ;; field say?
+ (file-name (git-file-name "mirage" version))
+ (sha256
+ (base32
+ "151adbcn4zmhxgh4g10flamlgwd90pppjvk0lhy2p3yxyn55f914"))))
+ (build-system dune-build-system)
+ (arguments
+ '(#:package "functoria-runtime"
+ ;; TODO
+ ;; again, requires opam for tests, which needs network access.
+ ;; most other tests seem to pass.
+ #:tests? #f))
+ (propagated-inputs
+ (list ocaml-cmdliner ocaml-fmt ocaml-logs ocaml-bos ocaml-ipaddr
+ ocaml-emile ocaml-uri))
+ (native-inputs
+ (list ocaml-alcotest))
+ (home-page "https://github.com/mirage/mirage")
+ (synopsis "Runtime support library for functoria-generated code")
+ (description
+ "This is the runtime support library for code generated by functoria.")
+ (license license:isc)))
+
(define-public ocaml-ocurl
(package
(name "ocaml-ocurl")
--
2.38.1
- [bug#60673] [PATCH 01/39] gnu: Add ocaml-domain-name., Csepp, 2023/01/08
- [bug#60671] [PATCH 02/39] gnu: Add ocaml-macaddr., Csepp, 2023/01/08
- [bug#60674] [PATCH 04/39] gnu: Add ocaml-opam-monorepo., Csepp, 2023/01/08
- [bug#60675] [PATCH 05/39] gnu: Add ocaml-pecu., Csepp, 2023/01/08
- [bug#60672] [PATCH 03/39] gnu: Add ocaml-ipaddr., Csepp, 2023/01/08
- [bug#60676] [PATCH 06/39] gnu: Add ocaml-emile., Csepp, 2023/01/08
- [bug#60678] [PATCH 08/39] gnu: Add ocaml-mirage-runtime., Csepp, 2023/01/08
- [bug#60681] [PATCH 11/39] gnu: Add ocaml-duration., Csepp, 2023/01/08
- [bug#60677] [PATCH 07/39] gnu: Add ocaml-functoria-runtime,
Csepp <=
- [bug#60679] [PATCH 09/39] gnu: Add ocaml-functoria., Csepp, 2023/01/08
- [bug#60680] [PATCH 10/39] gnu: Add ocaml-mirage., Csepp, 2023/01/08
- [bug#60682] [PATCH 12/39] gnu: Add ocaml-mirage-unix., Csepp, 2023/01/08
- [bug#60683] [PATCH 13/39] gnu: Add ocaml-mirage-time., Csepp, 2023/01/08
- [bug#60673] [PATCH 14/39] gnu: Add aliases for ocaml-cstruct and ocaml-lwt subpackages., Csepp, 2023/01/08
- [bug#60673] [PATCH 17/39] gnu: Add ocaml-mirage-profile., Csepp, 2023/01/08
- [bug#60673] [PATCH 21/39] gnu: Add ocaml-sexp-pretty., Csepp, 2023/01/08
- [bug#60673] [PATCH 28/39] gnu: Add ocaml-textutils., Csepp, 2023/01/08
- [bug#60673] [PATCH 25/39] gnu: Add ocaml-async-kernel., Csepp, 2023/01/08
- [bug#60673] [PATCH 39/39] gnu: Add ocaml-mirage-bootvar-unix., Csepp, 2023/01/08