From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id iJReDKgM9Wb+RwEA62LTzQ:P1 (envelope-from ) for ; Thu, 26 Sep 2024 07:26:32 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id iJReDKgM9Wb+RwEA62LTzQ (envelope-from ) for ; Thu, 26 Sep 2024 09:26:32 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=RunfWeEN; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b=c75mlrXi; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1727335592; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=4VP9j5mngQgVTPNTdRXdgaGx9t6oCdXgTXKCFfNUCe8=; b=eRSqfychmjz0qRDzCoQhHuERVuj086HydKi3BgV5koDLZfmt7Qd4fv2mH5BEi2nAkGH1Cp qEVG+CCmkMAkkjiYRQz77/4S22s2UNtmc4C8KBQS+uvASxfUQKv0MIJ4dGhfiIzFJTOgRc Aa6DqD+eMbkUZVPkxHj5G3541x/N++gAvUsqvWZjTyFIjBk1WpX2t2bCIe/9gdX8a9cZ4q vdgYa1ZD3MBfLnaVIYxA1orc5KBTR4FYLF9lOgDse0sFGku6CZdZ9x2gqFnzAkrWNK57ci QFgae6SXCqE8Jw0TSXhJ1XigkLqA+q5AgfQZfZXSu4h058GSGKadLC3koexKAg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=RunfWeEN; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b=c75mlrXi; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1727335592; a=rsa-sha256; cv=none; b=IotxvZAlY00XNfkFCSa4VySvIQ0LT4X+0z0CPdRyFiGtSkm6W+LlRGYOdEl/Xk+7VHTbZj D6P4y6fXU9sLUZsdiNL8Q3eSvka4AiM3n/x1ghD1VPAYQof/kb9aUNmHwya65Rv3ibj70+ BMXKkVJnIfEpckedBVPTd09GGbYBSWyPJewMllb22dw4AXBS0wqHnmHwZti7jdiTlPlpyI CbcLoPpwf78P/sTIcNpKY4RYqe1ojCAEmRHkuo5fUiwaPVVP9W1ch3U3AGxUCtgtEgJ3jo MlXxsBkJ2yR5NdBFelIsWQngMg6E4Nrc9a/z8SwgaIsYXLa8jlOwkEMxjIJkog== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 10C4411AB for ; Thu, 26 Sep 2024 09:26:32 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1stish-00063r-Tw; Thu, 26 Sep 2024 03:25:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1stisf-00062S-3y for guix-patches@gnu.org; Thu, 26 Sep 2024 03:25:41 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1stisb-0003Wq-UP for guix-patches@gnu.org; Thu, 26 Sep 2024 03:25:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=4VP9j5mngQgVTPNTdRXdgaGx9t6oCdXgTXKCFfNUCe8=; b=RunfWeENv8vT0h2g+eA7Bf5pNUuR2dbWVKRRNFYbjJnlAaX7E6LqJR8tRmhl5MiJ/HFFjPQVJiqawQBcJDFrkDGvJTdtZ004fcufD2QmwL3VUbHds935G8xFUFzK0LItHbKTxXT7dGQ3vUXTb0tWEpEhzdiroWmNi0chFwEQfomhcxrUAh8NOxzFkWMq3RSZExqIhdWovuwHC2tH8YdP1EJcc9UphsDhoDaalQWXLrGwk0Jg0kwscmBs29OOOA87p8UoxzdvIaa1EguyTAKyJMp4cs7MROn8DjxaHwDvYquyukBgTyAvjylCbGxayqYdFofOKTinvvjP7ktqPprbbg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1stit1-0000nh-Lg; Thu, 26 Sep 2024 03:26:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73466] [PATCH v2 05/15] gnu: Add ocaml-directories. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: julien@lepiller.eu, pukkamustard@posteo.net, guix-patches@gnu.org Resent-Date: Thu, 26 Sep 2024 07:26:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73466 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73466@debbugs.gnu.org Cc: Julien Lepiller , pukkamustard X-Debbugs-Original-Xcc: Julien Lepiller , pukkamustard Received: via spool by 73466-submit@debbugs.gnu.org id=B73466.17273355202415 (code B ref 73466); Thu, 26 Sep 2024 07:26:03 +0000 Received: (at 73466) by debbugs.gnu.org; 26 Sep 2024 07:25:20 +0000 Received: from localhost ([127.0.0.1]:49558 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1stisK-0000cn-8m for submit@debbugs.gnu.org; Thu, 26 Sep 2024 03:25:20 -0400 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:36021 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1stis8-0000aL-DP for 73466@debbugs.gnu.org; Thu, 26 Sep 2024 03:25:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1727335469; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=4VP9j5mngQgVTPNTdRXdgaGx9t6oCdXgTXKCFfNUCe8=; b=c75mlrXiHWinytKp9YVVQ6B+E6PaNWP03DHEYNSdaySGT8fXicCjeilTlPZyKJekZ5d3qA 7df7xq+Xfwa5IEahg/eKnOZoH39PnGwzt86h0zZt5WomDYzAXpj9QPLtXHyZ0FVOjCLRrl 6svNwnX1QGw5xwsWjHCUkI7yF9991iDJgFixktjey21YDEqQem4Ur4YiiflRoGPGWZaFTA +qjvXOiuVuMfR9ZoDqTyEgBwS8DwNDHUcnO98gMBu6J+oQAUiJlYVKrF+hUquPcJZdrpKv u8fcEp/fwyVW/HEsqafDgokHulcx1XNuRmObc5lQXgUtMjaQlZTjxlhr2G52QQ== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 1fee5b86 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for <73466@debbugs.gnu.org>; Thu, 26 Sep 2024 07:24:29 +0000 (UTC) Date: Thu, 26 Sep 2024 09:23:35 +0200 Message-ID: <361a0df311e0eb3807373fff68a1e0cde5c98142.1727335349.git.herman@rimm.ee> X-Mailer: git-send-email 2.45.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Herman Rimm X-ACL-Warn: , Herman Rimm via Guix-patches From: Herman Rimm via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 10C4411AB X-Migadu-Scanner: mx11.migadu.com X-Spam-Score: -6.52 X-Migadu-Spam-Score: -6.52 X-TUID: RjiEDdlJhGEm * 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