guix-patches
[Top][All Lists]
Advanced

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

[bug#73466] [PATCH 05/16] gnu: Add ocaml-directories.


From: Herman Rimm
Subject: [bug#73466] [PATCH 05/16] gnu: Add ocaml-directories.
Date: Wed, 25 Sep 2024 10:03:01 +0200

* gnu/packages/ocaml.scm (ocaml-directories): Add variable.

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

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 0e8bbb2ade..2bacc46f86 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -768,6 +768,29 @@ (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 url-fetch)
+       (uri "https://github.com/OCamlPro/directories/archive/0.5.tar.gz";)
+       (sha256
+        (base32 "0lwcsd3vsrl2ld1q90wfwlzk3yzdnilqabxrx6ci0z7xg78f1f1y"))))
+    (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: - XDG Base Directory
+Specification and xdg-user-dirs on Linux - Known Folders on Windows - Standard
+Directories on @code{macOS}.")
+    (license license:isc)))
+
 (define-public ocaml-mccs
   (package
     (name "ocaml-mccs")
-- 
2.45.2






reply via email to

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