From patchwork Tue Feb 25 01:04:26 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Wong X-Patchwork-Id: 39131 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id D8C1027BBEA; Tue, 25 Feb 2025 01:05:45 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 817C327BBE2 for ; Tue, 25 Feb 2025 01:05:45 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tmjNv-00011d-Sg; Mon, 24 Feb 2025 20:05:19 -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 1tmjNi-0000qK-IB for guix-patches@gnu.org; Mon, 24 Feb 2025 20:05:08 -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 1tmjNg-000600-3a for guix-patches@gnu.org; Mon, 24 Feb 2025 20:05:06 -0500 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=kB+6b3aeVTVjulComlvacThTWLNkoyC2DPcbWap8P2A=; b=gYdrau9UrmFBW3KxGMXmBQHblAAdWYCiJs71aujC1XNTDmQoJBIFxED+GytCgIudEXVFKglNAuTZtRqVft8Z4ZWGcUTJ534OZDCO4Rs8J5RcZbq+2HpmxMjOR+paF3zlbS6KXqPz5InGoTmtbMOSznnQP6a/GIQ2RSpuy5FuEN+rmsC9YD0iwVKkWMz6baoJ1DYksYOKunbyYnFfW8wO4S8f14t73AENU+x51VbQtI9fF8BaM6rcUmzgEJnvJLOaVWd7BXupbNG9YJjC7my2iDKu0Vszq8d2Xq4C+6DQ0wjX6qQJNGSSw09FaeSO1iNiiNMAP+8dg8muivA2iNGT/g==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tmjNe-0005FW-F7; Mon, 24 Feb 2025 20:05:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#76537] [PATCH rust-team 1/8] gnu: Add rust-dirs-6. Resent-From: Andrew Wong Original-Sender: "Debbugs-submit" Resent-CC: divya@subvertising.org, efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Tue, 25 Feb 2025 01:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 76537 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 76537@debbugs.gnu.org Cc: Andrew Wong , Divya Ranjan Pattanaik , Efraim Flashner X-Debbugs-Original-Xcc: Divya Ranjan Pattanaik , Efraim Flashner Received: via spool by 76537-submit@debbugs.gnu.org id=B76537.174044548820108 (code B ref 76537); Tue, 25 Feb 2025 01:05:02 +0000 Received: (at 76537) by debbugs.gnu.org; 25 Feb 2025 01:04:48 +0000 Received: from localhost ([127.0.0.1]:43674 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tmjNQ-0005EC-0M for submit@debbugs.gnu.org; Mon, 24 Feb 2025 20:04:48 -0500 Received: from qs51p00im-qukt01071901.me.com ([17.57.155.8]:60641) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tmjNN-0005Do-MQ for 76537@debbugs.gnu.org; Mon, 24 Feb 2025 20:04:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; bh=kB+6b3aeVTVjulComlvacThTWLNkoyC2DPcbWap8P2A=; h=From:To:Subject:Date:Message-ID:MIME-Version:x-icloud-hme; b=hzOrn9kV02p/KKLJCDj5N85Vyeo+lIDH1WAJK0uPOaH5AvlU5VxB6ruL1RtTUZBxA 896bNTE8/wLq2SXDmFRfu6yBsvFO6RXC9TUBMzTHKXEQep39JOuFtzgywFXOBn7EyG MKitQr9AxKmcB797upzRM9/Y328SaOxegWqrliOb02RWhrXFbYpKzW1Zd2qGvLRbu7 BC/Z30aq+jgsyHxNSeAtZTZvF1R2FEw3BigoU48FIj80JhJqkqEUPzcHtlRhDDRWBm lHexqSgGXze+jZ/diISc48b+qemHsTZLZc89XNc0rTlAUd8FFOJ9+bEPsMBmz8qeUd ODAtVulwAkicA== Received: from wongworks.lan (qs51p00im-dlb-asmtp-mailmevip.me.com [17.57.155.28]) by qs51p00im-qukt01071901.me.com (Postfix) with ESMTPSA id BB7D66280214; Tue, 25 Feb 2025 01:04:38 +0000 (UTC) Date: Mon, 24 Feb 2025 20:04:26 -0500 Message-ID: <279f2c6741961285570d1458ad254fba13ac47c6.1740445264.git.wongandj@icloud.com> X-Mailer: git-send-email 2.48.1 In-Reply-To: References: MIME-Version: 1.0 X-Proofpoint-GUID: O1CnzuQhpOdg_RH6F4kPtFevzoOYuaLv X-Proofpoint-ORIG-GUID: O1CnzuQhpOdg_RH6F4kPtFevzoOYuaLv X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1057,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-02-24_12,2025-02-24_02,2024-11-22_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 spamscore=0 mlxscore=0 phishscore=0 clxscore=1011 malwarescore=0 adultscore=0 mlxlogscore=999 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2308100000 definitions=main-2502250005 X-Apple-Remote-Links: v=1;h=KCk=;charset=UTF-8 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: Andrew Wong X-ACL-Warn: , Andrew Wong via Guix-patches X-Patchwork-Original-From: Andrew Wong via Guix-patches via From: Andrew Wong Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-dirs-6): New variable. Change-Id: I86be1720117f854b626e3b0c7868be44f4c4151e --- gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 055df1414f..8efc8a8285 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -21167,6 +21167,31 @@ (define-public rust-directories-next-2 other data.") (license (list license:expat license:asl2.0)))) +(define-public rust-dirs-6 + (package + (name "rust-dirs") + (version "6.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "dirs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0knfikii29761g22pwfrb8d0nqpbgw77sni9h2224haisyaams63")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-dirs-sys" ,rust-dirs-sys-0.5)))) + (home-page "https://github.com/soc/dirs-rs") + (synopsis + "tiny low-level library that provides platform-specific standard locations of directories for config, cache and other data on Linux, Windows, macOS and Redox by leveraging the mechanisms defined by the XDG base/user directory specifications on Linux, the Known Folder API on Windows, and the Standard Directory guidelines on macOS.") + (description + "This package provides a tiny low-level library that provides platform-specific +standard locations of directories for config, cache and other data on Linux, +Windows, @code{macOS} and Redox by leveraging the mechanisms defined by the XDG +base/user directory specifications on Linux, the Known Folder API on Windows, +and the Standard Directory guidelines on @code{macOS}.") + (license (list license:expat license:asl2.0)))) + (define-public rust-dirs-5 (package (name "rust-dirs")