From patchwork Tue Nov 19 07:32:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Divya Ranjan X-Patchwork-Id: 70571 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 9286F27BBE2; Tue, 19 Nov 2024 07:36:00 +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,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=unavailable 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 BE98927BBEA for ; Tue, 19 Nov 2024 07:35:59 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tDIls-00032r-18; Tue, 19 Nov 2024 02:35:36 -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 1tDIlN-0002mg-Ib for guix-patches@gnu.org; Tue, 19 Nov 2024 02:35:05 -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 1tDIlL-0001Al-EB for guix-patches@gnu.org; Tue, 19 Nov 2024 02:35:03 -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=h2SaBt2evmbnKGL3YsJ6ydkq1lr8ZbC6GgFkwfXHAWM=; b=BsS8MEEg7jxKk4zH2PVkS9sRyM8nsaWnjr6gwmme/mdJbLTerbo1TUIG8FbcpuCXC07RDdbjw7ykYCO+jP4IYDhV8+7DFOPFfJq33W7gLILlcqXqBqyyuHOqIDX8Yg0WCrGeWro6ceK2ZwNMPTgnE6U60jpch1AREAvocWMwYVtn/l28XZZTNSAUkp4zBlQ4gGjTNxcl68rsk8sBjQmjPxDHn/q1tDQseUevpB57XI0ZjdkzBWA5/60hW2/Sk5HPSsDeHCL3ESPjd0SRpASqbtyx7RDcLZGEBFHifnyHuhWNQnNyM9OenJAchxZcAVOlRarIgmo5UKydu1wFc6L/ig==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tDIlL-0006zL-85 for guix-patches@gnu.org; Tue, 19 Nov 2024 02:35:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74432] [rust-team 7/9] gnu: crates-io: Add rust-filename Resent-From: Divya Ranjan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 19 Nov 2024 07:35:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74432 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 74432@debbugs.gnu.org Cc: Divya Ranjan Received: via spool by 74432-submit@debbugs.gnu.org id=B74432.173200166226752 (code B ref 74432); Tue, 19 Nov 2024 07:35:03 +0000 Received: (at 74432) by debbugs.gnu.org; 19 Nov 2024 07:34:22 +0000 Received: from localhost ([127.0.0.1]:40793 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDIkf-0006xK-Mz for submit@debbugs.gnu.org; Tue, 19 Nov 2024 02:34:22 -0500 Received: from devianza.investici.org ([198.167.222.108]:53885) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDIkc-0006wR-32 for 74432@debbugs.gnu.org; Tue, 19 Nov 2024 02:34:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=subvertising.org; s=stigmate; t=1732001657; bh=h2SaBt2evmbnKGL3YsJ6ydkq1lr8ZbC6GgFkwfXHAWM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Dgy0K/Jnsy0GmHODP+TQYN7Hchtl0mn96L/QgjuXLZ+XJQSpjHK1AVbAEqUkTq+Dg f6fSJgvvUPLKJJ8p208UyblC8dbzkMLhHEA9wlTSzUXJXxzjxNN1xm/zxIeW4Xb1Rx egE6sXCyG1o0HxQf8UxNtGLs7bfDVxDpwTTgv+js= Received: from mx2.investici.org (unknown [127.0.0.1]) by devianza.investici.org (Postfix) with ESMTP id 4Xsx896krtz70QD; Tue, 19 Nov 2024 07:34:17 +0000 (UTC) Received: from [198.167.222.108] (mx2.investici.org [198.167.222.108]) (Authenticated sender: divya@subvertising.org) by localhost (Postfix) with ESMTPSA id 4Xsx891fWDz70Q9; Tue, 19 Nov 2024 07:34:17 +0000 (UTC) Date: Tue, 19 Nov 2024 07:32:15 +0000 Message-ID: <20241119073222.22383-9-divya@subvertising.org> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241119073222.22383-2-divya@subvertising.org> References: <20241119073222.22383-2-divya@subvertising.org> MIME-Version: 1.0 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: Divya Ranjan X-ACL-Warn: , Divya Ranjan via Guix-patches X-Patchwork-Original-From: Divya Ranjan via Guix-patches via From: Divya Ranjan 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-filename): New variable Change-Id: Iab7def60b569282c46ef5fdc50e265a3e2b8eeea --- gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 37bef67027..f40a8da4d5 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -27424,6 +27424,28 @@ (define-public rust-filedescriptor-0.8 "More ergonomic wrappers around @code{RawFd} and @code{RawHandle}.") (license license:expat))) +(define-public rust-filename-0.1 + (package + (name "rust-filename") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "filename" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1s7byy8c939qrm6hsjqq0vicfv6rkxb3yrhslg7zkggyxw1xzr33")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) + ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/flier/rust-filename") + (synopsis "Get filename from a raw file descriptor") + (description + "This package provides Get filename from a raw file descriptor.") + (license license:expat))) + (define-public rust-filesize-0.2 (package (name "rust-filesize")