From patchwork Sat Jul 18 10:09:44 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandru-Sergiu Marton X-Patchwork-Id: 23252 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 A954627BBE3; Sat, 18 Jul 2020 11:11:40 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 3883727BBE1 for ; Sat, 18 Jul 2020 11:11:40 +0100 (BST) Received: from localhost ([::1]:53628 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jwjoh-0004qC-Lg for patchwork@mira.cbaines.net; Sat, 18 Jul 2020 06:11:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57326) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jwjo6-0004MI-Nq for guix-patches@gnu.org; Sat, 18 Jul 2020 06:11:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46885) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jwjo6-0005KR-EI for guix-patches@gnu.org; Sat, 18 Jul 2020 06:11:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jwjo6-0001tF-8q for guix-patches@gnu.org; Sat, 18 Jul 2020 06:11:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42412] [PATCH] gnu: Add rust-directories. Resent-From: Alexandru-Sergiu Marton Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 18 Jul 2020 10:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42412 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42412@debbugs.gnu.org Cc: Alexandru-Sergiu Marton X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15950670157207 (code B ref -1); Sat, 18 Jul 2020 10:11:02 +0000 Received: (at submit) by debbugs.gnu.org; 18 Jul 2020 10:10:15 +0000 Received: from localhost ([127.0.0.1]:58431 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jwjnK-0001sB-R8 for submit@debbugs.gnu.org; Sat, 18 Jul 2020 06:10:15 -0400 Received: from lists.gnu.org ([209.51.188.17]:38184) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jwjnH-0001s2-5Z for submit@debbugs.gnu.org; Sat, 18 Jul 2020 06:10:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57168) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jwjnG-0003WO-Mw for guix-patches@gnu.org; Sat, 18 Jul 2020 06:10:11 -0400 Received: from mout01.posteo.de ([185.67.36.65]:49143) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jwjnE-00052z-Gg for guix-patches@gnu.org; Sat, 18 Jul 2020 06:10:10 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 5E00A16005F for ; Sat, 18 Jul 2020 12:10:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.ro; s=2017; t=1595067003; bh=ajUZ66QYAjpwZ/PZ4YLG2rNhirRxMuAu2+vv9G7dtg8=; h=From:To:Cc:Subject:Date:From; b=O8XA3RMgkzjx6ADrYX1Rvrq4gKwt9b9qYoGL3xOwJXbe+5Aqf5dVBxYhbwMRfIETE 8UhpJb+J9AhC+VXnB3hdJe+xnoU9jXX7GGEUM+V7W9GOOD+bbp+vNICrQkDcaMDPYJ mXGLSEYdYoE1c95lPOPRNHY79yrTZhFm8XUZ8jS9/yaEHth0A9hMiKyIyoVJwkivT5 RLb5ZaJkN8jH0o4VQfXLAvK9lgzvj2HM3Hun+cW7bMThOYjN62216/G9rBFMV0KTeD Pba1dqKk1vnc7CgjiUPfKjlhKJSBNtmcG9dbhQurEjVs0HfDpRkbIjh/NSYTkfC2iy l7qm5HNDVwlBQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4B83dQ5gl6z6tm5; Sat, 18 Jul 2020 12:10:02 +0200 (CEST) From: Alexandru-Sergiu Marton Date: Sat, 18 Jul 2020 13:09:44 +0300 Message-Id: <20200718100944.18969-1-brown121407@posteo.ro> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Received-SPF: pass client-ip=185.67.36.65; envelope-from=brown121407@posteo.ro; helo=mout01.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/18 06:10:03 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-directories-3): New variable. --- gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 8a1e462f85..e6f2663f67 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -5610,6 +5610,38 @@ structs and enums.") (("rust-blobby" ,rust-blobby-0.1) ("rust-generic-array" ,rust-generic-array-0.13)))))) +(define-public rust-directories-3 + (package + (name "rust-directories") + (version "3.0.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "directories" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "03ysv4m6mhsc3w1xnvncd5sxf7v2dz917awq6ksx0n0bsqwxdzpq")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-dirs-sys" ,rust-dirs-sys-0.3)) + #:cargo-development-inputs + (("rust-bencher" ,rust-bencher-0.1)))) + (home-page + "https://github.com/soc/directories-rs") + (synopsis + "Library for standard locations of data directories") + (description + "This package provides a tiny mid-level library that provides +platform-specific standard locations of directories for config, +cache and other data on Linux, Windows and macOS 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.") + (license (list license:expat license:asl2.0)))) + (define-public rust-dirs-2.0 (package (name "rust-dirs")