From patchwork Sun Jun 19 17:26:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: antlers X-Patchwork-Id: 40164 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 09D2927BBEA; Sun, 19 Jun 2022 18:29:29 +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=-3.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,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 7C2BF27BBE9 for ; Sun, 19 Jun 2022 18:29:28 +0100 (BST) Received: from localhost ([::1]:33684 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o2yjn-0003y5-Hx for patchwork@mira.cbaines.net; Sun, 19 Jun 2022 13:29:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36544) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2yjQ-0003si-Is for guix-patches@gnu.org; Sun, 19 Jun 2022 13:29:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59170) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o2yjQ-0004I4-AT for guix-patches@gnu.org; Sun, 19 Jun 2022 13:29:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o2yjQ-0006Qa-7q for guix-patches@gnu.org; Sun, 19 Jun 2022 13:29:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56057] [bug #56057] [PATCH v2 02/21] gnu: Add rust-adler-1. Resent-From: antlers Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 19 Jun 2022 17:29:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56057 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56057@debbugs.gnu.org Cc: antlers Received: via spool by 56057-submit@debbugs.gnu.org id=B56057.165565968824492 (code B ref 56057); Sun, 19 Jun 2022 17:29:04 +0000 Received: (at 56057) by debbugs.gnu.org; 19 Jun 2022 17:28:08 +0000 Received: from localhost ([127.0.0.1]:53038 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2yiW-0006Mr-6i for submit@debbugs.gnu.org; Sun, 19 Jun 2022 13:28:08 -0400 Received: from mail-pj1-f41.google.com ([209.85.216.41]:36487) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2yiI-0006Jo-E4 for 56057@debbugs.gnu.org; Sun, 19 Jun 2022 13:28:00 -0400 Received: by mail-pj1-f41.google.com with SMTP id k12-20020a17090a404c00b001eaabc1fe5dso8768583pjg.1 for <56057@debbugs.gnu.org>; Sun, 19 Jun 2022 10:27:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=u4edwL9KmQ508Bi1/oXcSkrurEOdMd+arN6Xeo8jNEM=; b=TVeBITThFEeJBx174zapv6Abd0zLBUC2U5BYtKaIP3Xy4RcwkjfclH6gAaLgR+XFwo /EtL3oMytjLfipPwY2Lt6KqflBRTVMuUwBQ063GzIQC3SIfydg6gcgefqwF5fJwOYEtg 4WLMSQNoMao4uw2qG0MD9stk5W5Cd2ntSS4CvfozUE3XUMUFpaVNQFcBw+A0RbUR3jVW c+7DVcN4ENg6vAxXPp/scYyuD7CHlfQxiZTpdw96Tm1flO8VUaZPWsFS5jFu9BEkT569 v13Xd8LYxcvWJshKdbQESE3OknIyhvc+DMhV734AMjvRw4spNqikDMVn08bsyrdUuxqs D1lg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=u4edwL9KmQ508Bi1/oXcSkrurEOdMd+arN6Xeo8jNEM=; b=XwDU0p2U7KTHB+gGB7DoUhM1+J7XEtEBin4iuGg+bQ3biafMr+5vK6sF8vtiyPFDGx XVaWkGq10IEO7r5XPW5nuacpaN3JWLombS9uprmE57mqHzoG+vV2eE2tL44zD1AeVqkh AjXVP3ugJD37N7cDLltqOJ2CbENGrsx2f+EgQ4neAM4UjsbNi1TT05VCB+WIxRNP5ZQc wMysbTULOsmhB3H8IcFRxiP7GNiV4Jn7a8BH14XoPraLPv3ZfRlfmyEiprlfaiWya2FO Ev9dh4FM2qoKyRve/42ZZPErKBpj5CTMxJQia4qB3AIpFh4KcId530nRGrA85l+KKC0o QQ4w== X-Gm-Message-State: AJIora/qwkHNRdbUMRKtpUbG6LWLZFpxCXkcV0TW490tK/UhRCB81W14 oanp/b/2IgcVSaA5VRRppT+xMXwWzQA= X-Google-Smtp-Source: AGRyM1ttbtqNFs0MEeg2Jw+VXK3Y87lV2nZaLbVezJui2ZerlAecYCOlZVsevn3B4d3TUYcTG5MviQ== X-Received: by 2002:a17:903:204c:b0:169:9e3:6840 with SMTP id q12-20020a170903204c00b0016909e36840mr17105542pla.77.1655659668382; Sun, 19 Jun 2022 10:27:48 -0700 (PDT) Received: from tower.hitronhub.home (24-113-171-200.wavecable.com. [24.113.171.200]) by smtp.gmail.com with ESMTPSA id o68-20020a62cd47000000b005251e2b53acsm1204051pfg.116.2022.06.19.10.27.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Jun 2022 10:27:48 -0700 (PDT) From: antlers X-Google-Original-From: antlers Date: Sun, 19 Jun 2022 10:26:52 -0700 Message-Id: <20220619172711.3413-3-antlers@luris.net> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220619172711.3413-1-antlers@luris.net> References: <79b17d35358df25550bf846d732a57044c8436dd.camel@telenet.be> <20220619172711.3413-1-antlers@luris.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-adler-1): New variable. --- :100644 100644 b1a8ee0d67 72012e1afb M gnu/packages/crates-io.scm gnu/packages/crates-io.scm | 37 ++++++++++++++++++++++++++----------- 1 file changed, 26 insertions(+), 11 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index b1a8ee0d67..72012e1afb 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1840,8 +1840,33 @@ (define-public rust-addr2line-0.9 ("rust-memmap" ,rust-memmap-0.7) ("rust-rustc-test" ,rust-rustc-test-0.3)))))) +(define-public rust-adler-1 + (package + (name "rust-adler") + (version "1.0.2") + (source (origin + (method url-fetch) + (uri (crate-uri "adler" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1zim79cvzd5yrkzl3nyfx0avijwgk9fqv3yrscdy1cc79ih02qpj")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-compiler-builtins" ,rust-compiler-builtins-0.1) + ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)))) + (home-page "https://github.com/jonas-schievink/adler") + (synopsis "Implementation of the Adler-32 checksum") + (description + "This crate provides a simple implementation of the Adler-32 +checksum, used in the zlib compression format.") + (license (list license:bsd-0 license:expat license:asl2.0)))) + (define-public rust-adler-0.2 (package + (inherit rust-adler-1) (name "rust-adler") (version "0.2.3") (source @@ -1851,21 +1876,11 @@ (define-public rust-adler-0.2 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0zpdsrfq5bd34941gmrlamnzjfbsx0x586afb7b0jqhr8g1lwapf")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-compiler-builtins" ,rust-compiler-builtins-0.1) - ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)))) - (home-page "https://github.com/jonas-schievink/adler") - (synopsis "Implementation of the Adler-32 checksum") - (description - "This crate provides a simple implementation of the Adler-32 -checksum, used in the zlib compression format.") - (license - (list license:expat - license:asl2.0 - (license:non-copyleft "https://spdx.org/licenses/0BSD.html"))))) + ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)))))) (define-public rust-adler32-1 (package