guix-patches
[Top][All Lists]
Advanced

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

[bug#64209] [PATCH v4 04/11] gnu: Add ocaml-xdg.


From: Benjamin
Subject: [bug#64209] [PATCH v4 04/11] gnu: Add ocaml-xdg.
Date: Sun, 24 Mar 2024 00:35:14 +0100

* gnu/packages/ocaml.scm (ocaml-xdg): New variable.

Change-Id: I88bc2fd7bb55d721ce1887a727480338dea0590c
---
 gnu/packages/ocaml.scm | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 7aa4b45374..0d77d93a34 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -8765,6 +8765,21 @@ (define-public ocaml-dune-build-info
 reporting the version from the version control system during development to
 get an precise reference of when the executable was built.")))
 
+(define-public ocaml-xdg
+  (package
+    (inherit dune-ordering)
+    (name "ocaml-xdg")
+    (build-system dune-build-system)
+    (arguments
+     '(#:package "xdg"
+       ;; Tests have a cyclic dependency on stdune
+       #:tests? #f))
+    (propagated-inputs (list ocaml-odoc))
+    (synopsis "XDG Base Directory Specification library for ocaml")
+    (description
+     "This ocaml library returns user XDG directories such as XDG_CONFIG_HOME,
+     XDG_STATE_HOME.")))
+
 (define-public ocaml-either
   (package
     (name "ocaml-either")
-- 
2.41.0






reply via email to

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