From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id iKvrIfhQTmVwcQEAG6o9tA:P1 (envelope-from ) for ; Fri, 10 Nov 2023 16:49:12 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id iKvrIfhQTmVwcQEAG6o9tA (envelope-from ) for ; Fri, 10 Nov 2023 16:49:12 +0100 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 6C01C5D2C4 for ; Fri, 10 Nov 2023 16:49:12 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=uvy.fr header.s=202105 header.b="UTMKt/wb"; 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=fail reason="SPF not aligned (relaxed)" header.from=uvy.fr (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1699631352; h=from:from:sender:sender: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=DUF2YQCNj0cNiAHSL24oc3fG2iHVtltBDp5GJrcMzSo=; b=ZtS4GetdKCAJBXB53BrZFBu9uvaCo/U0esbKKByCepRisYavKuEoIYGja6LuCRxys0DErK aYm/56JIUjRSO30SSM6BmpLeP3Sjno+1E3BdOVCEbXdQC1lqXL1BGw1hlhmDXLW6GdTB3q 0gUa2Ai0fr4z/F1aB1Sxw/HLPIo/rIioMN+HPjL5Vaspa3CyUEh0D5dS5qAO7AQWJiZQqL MGifhgyCFZnL1f0k4YPO4KO1JWnvBbC/wMnGwc/ifd1BCXRT+uNNCfsk1wxK0fyp394kTc tHQWixRn1NhpuOJ6R72kDCF94Wl1+p9gLPwUwzcH3qO8Lra9feFIeygTpNjn/A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=uvy.fr header.s=202105 header.b="UTMKt/wb"; 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=fail reason="SPF not aligned (relaxed)" header.from=uvy.fr (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1699631352; a=rsa-sha256; cv=none; b=kfVKosZ7n8sVyxMiPKeo9jpnSivCwAJvtIZoBtcesV0tqrZRnKbWVm2k1dvu8UcZu3a6i9 lxdS8dsn7JIFJvccl+OUmkolIEz22uSW+eomG3VhUpt4wlI6Jo+qUFftqgNVbToo+4AQJK ukVjnJCHurk4HoD4srrJH8AS5ZS4lr6E/RQH1pGFGgOwN60bT5VYxBuxWhAHPFcM3pDJyR 9h6m6HTbRBhbOCM8UimfaK3Divux/N0NqvJj06a3Pp69vrTKrNSdkUE+ro4G3Uy/Oqkpj6 bNJi6kmAwEmcP2vYwuATGVmkYkmHALZEJhFDFNNZnlU4C6P88QYGtCCnrX75VA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r1TkF-0003o1-9t; Fri, 10 Nov 2023 10:48:31 -0500 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 1r1TkD-0003mP-2o for guix-patches@gnu.org; Fri, 10 Nov 2023 10:48:29 -0500 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 1r1TkC-0006xt-3k for guix-patches@gnu.org; Fri, 10 Nov 2023 10:48:28 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r1Tko-0007qL-FC; Fri, 10 Nov 2023 10:49:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#64209] [PATCH v3 09/14] gnu: Add ocaml-xdg. Resent-From: Benjamin Original-Sender: "Debbugs-submit" Resent-CC: julien@lepiller.eu, pukkamustard@posteo.net, guix-patches@gnu.org Resent-Date: Fri, 10 Nov 2023 15:49:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64209 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64209@debbugs.gnu.org Cc: Benjamin , Julien Lepiller , pukkamustard X-Debbugs-Original-Xcc: Julien Lepiller , pukkamustard Received: via spool by 64209-submit@debbugs.gnu.org id=B64209.169963133029913 (code B ref 64209); Fri, 10 Nov 2023 15:49:06 +0000 Received: (at 64209) by debbugs.gnu.org; 10 Nov 2023 15:48:50 +0000 Received: from localhost ([127.0.0.1]:50652 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r1TkX-0007mN-Ts for submit@debbugs.gnu.org; Fri, 10 Nov 2023 10:48:50 -0500 Received: from mail.uvy.fr ([2001:41d0:304:200::4a2]:32932) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r1TkV-0007lQ-Ru for 64209@debbugs.gnu.org; Fri, 10 Nov 2023 10:48:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=uvy.fr; s=202105; t=1699631282; bh=B3IT/xWhs0iqO7ukE/cJ4BRFfZBUOf6DzRtWGnBlpag=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=UTMKt/wbUQUd2LzBwP2IXmLM0R46XxW5wykfExEVfIj0cd3U0MXS/fy4Aq4KfRITY +rBOCtvdu7HMWkGtTtdP6ZDyBSwFCSVSGkz6Uga0k1s83AIiT1MUSJx6H/g0SYX2g8 4ykCLkIHAOYinhs+Uzvj/ZiuSJUe5CTTfesf+4WLTcp8JI0jXFvSvAcbt91aB/oPJh V9AzwjxTRhekWyqXGt4T8tsncZsKZ6Av4s6mFD3eNGy8Taicq0kb9Ao4ptFQ7ThxJ4 wLR9R3UJlU1feIVogrqCSMOWGy5f6UW3AEwMB7cElC0f7ciBDT1kCCFx8WRuplvYG5 IL4ua+LAWAaDw== From: Benjamin Date: Fri, 10 Nov 2023 16:46:21 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 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: , 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-Spam-Score: 4.39 X-Spam-Score: 4.39 X-Migadu-Queue-Id: 6C01C5D2C4 X-Migadu-Scanner: mx13.migadu.com X-TUID: efF2vcfAhYmx * gnu/packages/ocaml.scm (ocaml-xdg): New variable. Change-Id: Ie4246d9e655fafd60e650ac8043bdc6d51bcb737 --- gnu/packages/ocaml.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 76cc995753..a12e7f4264 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -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) -- 2.41.0