guix-patches
[Top][All Lists]
Advanced

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

[bug#64209] [PATCH v2 09/14] gnu: Add ocaml-xdg.


From: Benjamin
Subject: [bug#64209] [PATCH v2 09/14] gnu: Add ocaml-xdg.
Date: Tue, 8 Aug 2023 15:23:06 +0200

* gnu/packages/ocaml.scm (ocaml-xdg): New variable.
---
 gnu/packages/ocaml.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index e037009ae8..3d36c9ec7d 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -9786,6 +9786,25 @@ (define-public ocaml-stdune
      "This library is dune standard library. It offers no backwards
 compatibility guarantees. You should use it at your own risk.")))
 
+(define-public ocaml-xdg
+  (package
+    (inherit dune)
+    (name "ocaml-xdg")
+    (build-system dune-build-system)
+    (arguments
+     '(#:package "xdg"
+       #:tests? #f
+       #:phases (modify-phases %standard-phases
+                  (add-before 'build 'remove-vendor
+                    (lambda _
+                      (delete-file-recursively "vendor/csexp")
+                      (delete-file-recursively "vendor/pp"))))))
+    (propagated-inputs (list ocaml-odoc))
+    (properties '())
+    (synopsis "XDG Base Directory Specification")
+    (description
+     
"https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html";)))
+
 (define-public ocaml-ordering
   (package
     (inherit dune)
-- 
2.41.0






reply via email to

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