[bug#73466,v2,05/15] gnu: Add ocaml-directories.
Commit Message
* gnu/packages/ocaml.scm (ocaml-directories): Add variable.
Change-Id: I2cd9da3ae023f10cda302185abe6370cbf26b9e6
---
gnu/packages/ocaml.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
@@ -726,6 +726,36 @@ (define-public ocaml-cudf
;; With static-linking exception
(license license:lgpl2.1+)))
+(define-public ocaml-directories
+ (package
+ (name "ocaml-directories")
+ (version "0.5")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/OCamlPro/directories")
+ (commit version)))
+ (sha256
+ (base32
+ "1xys79ji1fqjjyzgapqzd5zpx7gs2kiaf87csm4y8f4zd638cl6z"))))
+ (build-system dune-build-system)
+ (propagated-inputs (list ocaml-ctypes))
+ (home-page "https://github.com/ocamlpro/directories")
+ (synopsis "Provides configuration, cache and data paths")
+ (description
+ "directories is an OCaml library that provides configuration, cache
+and data paths (and more!) following the suitable conventions on Linux,
+@code{macOS} and Windows. It is inspired by similar libraries for other
+languages such as directories-jvm. The following conventions are used:
+
+@itemize
+@item XDG Base Directory Specification and xdg-user-dirs on Linux;
+@item Known Folders on Windows;
+@item Standard Directories on @code{macOS}.
+@end itemize")
+ (license license:isc)))
+
(define-public ocaml-mccs
(package
(name "ocaml-mccs")