From patchwork Tue Oct 31 02:52:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaeme Sifat X-Patchwork-Id: 55683 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 B0B2527BBEA; Tue, 31 Oct 2023 02:54:49 +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=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,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 2417227BBE2 for ; Tue, 31 Oct 2023 02:54:49 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qxetk-0006uG-Vp; Mon, 30 Oct 2023 22:54:33 -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 1qxetj-0006sy-UK for guix-patches@gnu.org; Mon, 30 Oct 2023 22:54:31 -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 1qxeti-0000tF-QH for guix-patches@gnu.org; Mon, 30 Oct 2023 22:54:31 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qxeuG-0001b1-93 for guix-patches@gnu.org; Mon, 30 Oct 2023 22:55:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66842] [PATCH 31/39] gnu: Add rust-os-release-0.1. Resent-From: Jaeme Sifat Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 31 Oct 2023 02:55:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66842 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66842@debbugs.gnu.org Cc: Jaeme Sifat Received: via spool by 66842-submit@debbugs.gnu.org id=B66842.16987208665945 (code B ref 66842); Tue, 31 Oct 2023 02:55:04 +0000 Received: (at 66842) by debbugs.gnu.org; 31 Oct 2023 02:54:26 +0000 Received: from localhost ([127.0.0.1]:47181 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qxete-0001Xj-3P for submit@debbugs.gnu.org; Mon, 30 Oct 2023 22:54:26 -0400 Received: from mailtransmit04.runbox.com ([2a0c:5a00:149::25]:49670) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qxetK-0001Sa-I4 for 66842@debbugs.gnu.org; Mon, 30 Oct 2023 22:54:06 -0400 Received: from mailtransmit03.runbox ([10.9.9.163] helo=aibo.runbox.com) by mailtransmit04.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1qxesh-00GBW5-CB for 66842@debbugs.gnu.org; Tue, 31 Oct 2023 03:53:27 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; s=selector2; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To :Message-Id:Date:Subject:Cc:To:From; bh=qf4g1pYO2pjCm09EA6WiICnSjCU2KRKVJxEA0uqYTV8=; b=PU+NbYUj3s+RBl57cA5aeEigsE OT2oUSSD06hb3qnR2DDquuAnXw9U4pHNMkdqSr18+XZGA5asPJWwYCUxXwEjQfYCm++xZlepCTtYm QtJ4u++AShzUkhl4jmdisNxyAmrQ0lrFh4zvGwMetQT90tNL/MCs7bJ8w8YMon+AFXO0vQiLGIe7P CJ+ycNvqi5hCZl1/lCeXZZWHd7AmiazqeeiQCg1ABk654eCqOIdVVYokqURcKKDf0EFPKnRe4sySK SgBM/KjJ+rGECyBbeqyA9mnRJn3ePdFzGUmFvDVO2c0NXOTSK9uszQ0WqiZbuSa2tu7dQ2th8w68A rQ/4di6Q==; Received: from [10.9.9.73] (helo=submission02.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1qxesh-0003EG-3Q for 66842@debbugs.gnu.org; Tue, 31 Oct 2023 03:53:27 +0100 Received: by submission02.runbox with esmtpsa [Authenticated ID (1176697)] (TLS1.2:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.93) id 1qxesU-0088By-UM; Tue, 31 Oct 2023 03:53:15 +0100 Date: Mon, 30 Oct 2023 22:52:35 -0400 Message-Id: <41075fe44f4b7cd9cf4e4b6fdb95423eb1039e9e.1698720460.git.jaeme@runbox.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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: Jaeme Sifat X-ACL-Warn: , Jaeme Sifat via Guix-patches X-Patchwork-Original-From: Jaeme Sifat via Guix-patches via From: Jaeme Sifat 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-os-release-0.1): New variable. Change-Id: Ibdcbb14e7544270f99e06df90f3c65fe6cc5eaf2 --- gnu/packages/crates-io.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 7902c9ed1d..e78d755585 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -47808,6 +47808,26 @@ (define-public rust-os-pipe-0.5 ("rust-nix" ,rust-nix-0.8) ("rust-winapi" ,rust-winapi-0.2)))))) +(define-public rust-os-release-0.1 + (package + (name "rust-os-release") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "os-release" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "09zckcazggm33cbhjgdajm8rg41x9y75yf13rhcyqlqvyzi9mwl2")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-lazy-static" ,rust-lazy-static-1)))) + (home-page "https://github.com/pop-os/os-release") + (synopsis "Parse @code{/etc/os-release} files on Linux distributions") + (description "This package provides parsing @code{/etc/os-release} files +on Linux distributions.") + (license license:expat))) + (define-public rust-os-str-bytes-6 (package (name "rust-os-str-bytes")