GNU bug report logs - #73466
[PATCH 01/16] gnu: Add ocaml-jsonrpc.

Previous Next

Package: guix-patches;

Reported by: Herman Rimm <herman <at> rimm.ee>

Date: Wed, 25 Sep 2024 07:56:02 UTC

Severity: normal

Tags: patch

Full log


Message #62 received at 73466 <at> debbugs.gnu.org (full text, mbox):

From: Herman Rimm <herman <at> rimm.ee>
To: 73466 <at> debbugs.gnu.org
Subject: [PATCH v2 05/15] gnu: Add ocaml-directories.
Date: Thu, 26 Sep 2024 09:23:35 +0200
* gnu/packages/ocaml.scm (ocaml-directories): Add variable.

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

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index b7160cab36..f0886ac762 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -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")
-- 
2.45.2





This bug report was last modified 262 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.