From patchwork Sat Sep 18 17:03:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 33166 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 49C7527BBE4; Sat, 18 Sep 2021 18:05:43 +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_H2,SPF_HELO_PASS,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 ESMTPS id E9E1827BBE1 for ; Sat, 18 Sep 2021 18:05:42 +0100 (BST) Received: from localhost ([::1]:45220 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mRdmY-0002F2-2R for patchwork@mira.cbaines.net; Sat, 18 Sep 2021 13:05:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43606) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mRdlw-0001Ze-64 for guix-patches@gnu.org; Sat, 18 Sep 2021 13:05:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53443) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mRdlv-0005rx-UB for guix-patches@gnu.org; Sat, 18 Sep 2021 13:05:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mRdlv-0007yd-PD for guix-patches@gnu.org; Sat, 18 Sep 2021 13:05:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50662] [PATCH v2 26/34] gnu: Add rust-jetscii-0.5. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 18 Sep 2021 17:05:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50662 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50662@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 50662-submit@debbugs.gnu.org id=B50662.163198466630450 (code B ref 50662); Sat, 18 Sep 2021 17:05:03 +0000 Received: (at 50662) by debbugs.gnu.org; 18 Sep 2021 17:04:26 +0000 Received: from localhost ([127.0.0.1]:36716 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mRdlJ-0007v2-NA for submit@debbugs.gnu.org; Sat, 18 Sep 2021 13:04:25 -0400 Received: from mout02.posteo.de ([185.67.36.66]:52369) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mRdlI-0007uW-2g for 50662@debbugs.gnu.org; Sat, 18 Sep 2021 13:04:24 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 49BB1240101 for <50662@debbugs.gnu.org>; Sat, 18 Sep 2021 19:04:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1631984658; bh=OXQSTvXIJiolmIGUIlZbmOUi+qoTySUSfE3SP09Ljwc=; h=From:To:Cc:Subject:Date:From; b=dlAaLJpWtfXQ7BkdCtWxFD9Axb26omlqtqQYcTQXvajDQEWQsN4zkqegZe30Y8/q5 O8WpxYsfZw5tlDUCfbOHbpeSRqErLhndepXcO5YEE8zh6wXvObW4INd5FUissm+LnX yZ+w8ctBPcAi4UBaCTwt6xjK5FGNjA+CQBW82eMtVSnlRLnTtsiFKo/7TgFrPTQVeW bYvdzr1cZWQ6/+cgmtEruA1+N1cyBsDN9xt/M0Uv0yksdX0CWyXbIOudBWgokI02Ph 10TVDqpvsZN42FZpUB1bBHUjqnNHe4B+1Lz00qdu89XUm1d/K2dK7avJfcEHf/Cu/3 aoC9LQpQNgg+w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HBccK2nBWz9rxN; Sat, 18 Sep 2021 19:04:17 +0200 (CEST) From: Vinicius Monego Date: Sat, 18 Sep 2021 17:03:24 +0000 Message-Id: <20210918170332.213414-6-monego@posteo.net> In-Reply-To: <20210918170332.213414-1-monego@posteo.net> References: <20210918170332.213414-1-monego@posteo.net> 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-jetscii-0.5): New variable. (rust-jetscii-0.3): Inherit from above. --- gnu/packages/crates-io.scm | 33 ++++++++++++++++++++++++++------- 1 file changed, 26 insertions(+), 7 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 868926341a..83b6f9486d 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -24064,27 +24064,46 @@ primitives to an @code{io::Write}.") (native-inputs `(("jemalloc" ,jemalloc))))) -(define-public rust-jetscii-0.3 +(define-public rust-jetscii-0.5 (package (name "rust-jetscii") - (version "0.3.1") + (version "0.5.0") (source (origin (method url-fetch) (uri (crate-uri "jetscii" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1sq6d6c9vi44gkr566w2f1d4n6mmrjx8gjdwgnhkgcsg051j391j")))) + (base32 "1x4z5ixlxv1wa70d3d6ad3n8qxz6z00i13zwnv219v45qcwybbnb")))) (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) + (arguments + `(#:rust ,rust-1.52 ; fix for E0658 + #:cargo-development-inputs + (("rust-lazy-static" ,rust-lazy-static-1) + ("rust-memmap" ,rust-memmap-0.7) + ("rust-proptest" ,rust-proptest-1) + ("rust-region" ,rust-region-2)))) (home-page "https://github.com/shepmaster/jetscii") (synopsis "Search strings and byte slices for sets of ASCII characters or bytes") - (description - "This package provides a tiny library to efficiently search strings and -byte slices for sets of ASCII characters or bytes.") + (description "This package provides a tiny library to efficiently search +strings and byte slices for sets of ASCII characters or bytes.") (license license:expat))) +(define-public rust-jetscii-0.3 + (package + (inherit rust-jetscii-0.5) + (name "rust-jetscii") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "jetscii" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1sq6d6c9vi44gkr566w2f1d4n6mmrjx8gjdwgnhkgcsg051j391j")))) + (arguments `(#:skip-build? #t)))) + (define-public rust-jni-0.18 (package (name "rust-jni")