guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

06/07: gnu: Add ocaml-dune-build-info.


From: guix-commits
Subject: 06/07: gnu: Add ocaml-dune-build-info.
Date: Sun, 8 Aug 2021 16:44:01 -0400 (EDT)

roptat pushed a commit to branch master
in repository guix.

commit 092b65e1aa7dca24f89fa8bccd0eb4e5dc07b346
Author: Xinglu Chen <public@yoctocell.xyz>
AuthorDate: Mon Jun 21 12:02:03 2021 +0200

    gnu: Add ocaml-dune-build-info.
    
    * gnu/packages/ocaml.scm (ocaml-dune-build-info): New variable.
    
    Signed-off-by: Julien Lepiller <julien@lepiller.eu>
---
 gnu/packages/ocaml.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 92c0080..76fb53d 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -7086,6 +7086,24 @@ representation.")
 that involve memoization and recursion.")
     (license license:lgpl2.0)))
 
+(define-public ocaml-dune-build-info
+  (package
+    (inherit dune)
+    (name "ocaml-dune-build-info")
+    (build-system dune-build-system)
+    (arguments
+     '(#:package "dune-build-info"
+       ;; No separate test suite from dune.
+       #:tests? #f))
+    (propagated-inputs
+     `(("ocaml-odoc" ,ocaml-odoc)))
+    (synopsis "Embed build informations inside executable")
+    (description "This package allows one to access information about how the
+executable was built, such as the version of the project at which it was built
+or the list of statically linked libraries with their versions.  It supports
+reporting the version from the version control system during development to
+get an precise reference of when the executable was built.")))
+
 (define-public ocaml-bigstringaf
   (package
     (name "ocaml-bigstringaf")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]