[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#60674] [PATCH 04/39] gnu: Add ocaml-opam-monorepo.
From: |
Csepp |
Subject: |
[bug#60674] [PATCH 04/39] gnu: Add ocaml-opam-monorepo. |
Date: |
Mon, 9 Jan 2023 01:34:54 +0100 |
From: raingloom <raingloom@riseup.net>
* gnu/packages/ocaml.scm (ocaml-opam-monorepo): New variable.
---
It's possible this should also omit the ocaml- prefix, like opam, but then it
will also require special handling in the importer.
gnu/packages/ocaml.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 7f36df6111..1082103504 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -976,6 +976,39 @@ (define-public opam
;; The 'LICENSE' file waives some requirements compared to LGPLv3.
(license license:lgpl3)))
+(define-public ocaml-opam-monorepo
+ (package
+ (name "ocaml-opam-monorepo")
+ (version "0.3.5")
+ (source (origin
+ (method git-fetch)
+ (uri
+ (git-reference
+ (url "https://github.com/tarides/opam-monorepo/")
+ (commit version)))
+ (file-name name)
+ (sha256
+ (base32
+ "09lq788b1sai4v1nxd16b00pw0m55plcwrx3f9v5a90gpxg0a6sc"))))
+ (build-system dune-build-system)
+ (arguments
+ ;; TODO
+ ;; Too many tests require a fully initialized opam, disabling them would
+ ;; be a huge pain. "Mocking" opam init is difficult because it requires
+ ;; networking access.
+ '(#:tests? #f))
+ ;; TODO: not entirely clear if these should be native, test cross-building
+ (native-inputs (list ocaml-odoc
+ pkg-config))
+ ;; (propagated-inputs lablgtk3) optional and is currently failing to build
+ (home-page "https://github.com/tarides/opam-monorepo")
+ (synopsis "Assemble and manage fully vendored Dune repositories")
+ (description
+ "The opam monorepo plugin provides a convenient interface to bridge the
+opam package manager with having a local copy of all the source code required
+to build a project using the dune build tool.")
+ (license license:isc)))
+
(define-public ocaml-camlp-streams
(package
(name "ocaml-camlp-streams")
--
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 <=
- [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, 2023/01/08
- [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