guix-patches
[Top][All Lists]
Advanced

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

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


From: Benjamin
Subject: [bug#64209] [PATCH 07/14] gnu: Add ocaml-xdg.
Date: Wed, 21 Jun 2023 17:48:21 +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 730a6ee014..da3794ad33 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -9776,6 +9776,25 @@ (define-public ocaml-fiber
      "This library offers no backwards compatibility guarantees.  Use 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-either
   (package
     (name "ocaml-either")
-- 
2.40.1






reply via email to

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