@@ -9753,6 +9753,26 @@ (define-public ocaml-stdune
"This library is dune standard library. It offers no backwards
compatibility guarantees.")))
+(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 library for ocaml")
+ (description
+ "This ocaml library returns user XDG directories such as XDG_CONFIG_HOME,
+ XDG_STATE_HOME.")))
+
(define-public ocaml-ordering
(package
(inherit dune)