From patchwork Tue Jul 9 23:36:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wilko Meyer X-Patchwork-Id: 29105 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 8D31727BBEB; Wed, 10 Jul 2024 00:40:44 +0100 (BST) 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,MAILING_LIST_MULTI,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 F0A1D27BBEC for ; Wed, 10 Jul 2024 00:40:42 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sRKRK-0007Oo-Rc; Tue, 09 Jul 2024 19:40:06 -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 1sRKRG-0007La-Pp for guix-patches@gnu.org; Tue, 09 Jul 2024 19:40:03 -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 1sRKRE-0007lZ-Jl for guix-patches@gnu.org; Tue, 09 Jul 2024 19:40:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sRKRK-00025D-A8; Tue, 09 Jul 2024 19:40:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72021] [PATCH 10/38] gnu: Add rust-infer-0.15. Resent-From: Wilko Meyer Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Tue, 09 Jul 2024 23:40:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72021 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72021@debbugs.gnu.org Cc: Wilko Meyer , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 72021-submit@debbugs.gnu.org id=B72021.17205683637620 (code B ref 72021); Tue, 09 Jul 2024 23:40:06 +0000 Received: (at 72021) by debbugs.gnu.org; 9 Jul 2024 23:39:23 +0000 Received: from localhost ([127.0.0.1]:54349 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sRKQc-0001yk-OW for submit@debbugs.gnu.org; Tue, 09 Jul 2024 19:39:23 -0400 Received: from mail.wmeyer.eu ([95.216.196.112]:59254) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sRKQT-0001ut-VN for 72021@debbugs.gnu.org; Tue, 09 Jul 2024 19:39:15 -0400 From: Wilko Meyer DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wmeyer.eu; s=mail; t=1720568341; bh=/FjMZGBsYh9cTPwEdJuVvsCwQtHUWv1C8n+LcPA4rH8=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=mjDxFPmOqnxcuG3SaBvXJwVvTzL2MJgEDY+3kqFmzB2FaJ6dHmR5EIUe7S7dIKE6c VEbPE/+lb2bRwNi5dja3GsLWSoIg/EIvaHr4Qh7aYSRw3Wplo348QhZ3elaFXgKV/N DkIOTdCyyOtAh1BQgtq3gJqDao9Zz3sftqmX5A20= Date: Wed, 10 Jul 2024 01:36:50 +0200 Message-ID: <389447e04df33e72b3375747746fef0db27206b8.1720567734.git.w@wmeyer.eu> 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: , 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-infer-0.15): New variable. (rust-infer-0.2): Inherit from rust-infer-0.15. Change-Id: I84b1823f4f071efa54396c7dd9648e77b3789473 --- gnu/packages/crates-io.scm | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 9c216157cb..f83e287db5 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -33904,19 +33904,21 @@ (define-public rust-indoc-impl-0.3 "This package provides macros for use with the @code{rust-indoc} package. It is obsolete for indoc versions > 1."))) -(define-public rust-infer-0.2 +(define-public rust-infer-0.15 (package (name "rust-infer") - (version "0.2.3") + (version "0.15.0") (source (origin (method url-fetch) (uri (crate-uri "infer" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1b4ziqcv0d1wga5yfqf620dkgzijsdw3ylnzq61bfaxla2d85sb4")))) + (base32 "16d1b83h5m87h6kq4z8kwjrzll5dq6rijg2iz437m008m4nn4cyb")))) (build-system cargo-build-system) - (arguments `(#:tests? #false)) ;missing files + (arguments + `(#:tests? #false ;missing files + #:cargo-inputs (("rust-cfb" ,rust-cfb-0.7)))) (home-page "https://github.com/bojand/infer") (synopsis "Infer file types based on its magic number signature") (description @@ -33924,6 +33926,21 @@ (define-public rust-infer-0.2 signature.") (license license:expat))) +(define-public rust-infer-0.2 + (package + (inherit rust-infer-0.15) + (name "rust-infer") + (version "0.2.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "infer" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1b4ziqcv0d1wga5yfqf620dkgzijsdw3ylnzq61bfaxla2d85sb4")))) + (build-system cargo-build-system) + (arguments `(#:tests? #false)))) + (define-public rust-inferno-0.11 (package (name "rust-inferno")