From patchwork Thu Jan 20 21:50:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Attila Lendvai X-Patchwork-Id: 36657 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 F075A27BBEA; Thu, 20 Jan 2022 22:36:11 +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,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS 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 B75A327BBE9 for ; Thu, 20 Jan 2022 22:36:11 +0000 (GMT) Received: from localhost ([::1]:55898 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nAg2M-0006rL-Os for patchwork@mira.cbaines.net; Thu, 20 Jan 2022 17:36:10 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38144) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAfOE-0003HF-2a for guix-patches@gnu.org; Thu, 20 Jan 2022 16:54:47 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:38382) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nAfNm-0005xZ-Ik for guix-patches@gnu.org; Thu, 20 Jan 2022 16:54:20 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nAfNm-0001hl-Ic for guix-patches@gnu.org; Thu, 20 Jan 2022 16:54:14 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53401] [PATCH 26/49] gnu: Add rust-fixed-hash 0.7.0 and 0.2.5. Resent-From: Attila Lendvai Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 20 Jan 2022 21:54:14 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53401 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53401@debbugs.gnu.org Cc: Attila Lendvai Received: via spool by 53401-submit@debbugs.gnu.org id=B53401.16427156306205 (code B ref 53401); Thu, 20 Jan 2022 21:54:14 +0000 Received: (at 53401) by debbugs.gnu.org; 20 Jan 2022 21:53:50 +0000 Received: from localhost ([127.0.0.1]:59449 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nAfNO-0001bv-Fi for submit@debbugs.gnu.org; Thu, 20 Jan 2022 16:53:50 -0500 Received: from mail-ed1-f42.google.com ([209.85.208.42]:42744) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nAfMs-0001WJ-98 for 53401@debbugs.gnu.org; Thu, 20 Jan 2022 16:53:18 -0500 Received: by mail-ed1-f42.google.com with SMTP id p12so34516834edq.9 for <53401@debbugs.gnu.org>; Thu, 20 Jan 2022 13:53:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=3aHfipAHyJsgC1itlI4vEx1n0dvjK3hRHeua0fhILm8=; b=qgs4PW6Bnts9CBK/SdkCtTVvkMVZdV/MxqGkFk1VcWQQXo+hPrahpg1DBjEp/zJvqy rcENry1vQ6C9oSQYJImDBBVg+6nEddHmMEOeQULa042eEUgsyIy6xiXWAwr5BLY1MS9p nrKDy+73Ohi9ohy3RPfkA9T+DGYC16cyy+3l+0qx43qXLOkMAzeimNftW7ZB1HoOU01s LdFz7jbpDwoO6zUD+EVEqoV3qJKQb71zs2ucQZRyPbQ/aIj0qT1T3TDJmqzQjd/O2Hjf fQiNnq7Te2KOmzlddhbXlRmzjPfWHnlMHrVCoXi4m8ZTPMh08fs8Zq2zJKGEeeXWcxF/ qfZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=3aHfipAHyJsgC1itlI4vEx1n0dvjK3hRHeua0fhILm8=; b=IEDIms9HT7Gae6NwxwrRbmIZsD5NbIr1166pImQ8CUOycZiJK9bTZEYwgNtIvt+TAD KT9Q5wKw1EVj6fmjIGIb70qqAnMRa4q3ssDYAuGxd/ODNID8tYOZAL2tq1JcoHJXa8hc 3VwnnzKsw56VChMeDrWqnrtAnNhSm4DfReuP5XketBpxoYBpryyZvBCi23bCopgtiqU1 o5FJgoisPN/rmTBubIzSS2KRzYRM+0iVfdrn8t5Sh10gO4EP4nFv1SepW5NpGm35DWK1 mpV54Fr8CZ8bxW2VieZm3I0JocEhHiOxjjqcpZl7VftvIhMDS2hSsDZh1NZEd638klYe mEZg== X-Gm-Message-State: AOAM5310g0emWk4CFoSk9M0L9F1G/3AiWXr9/FnEANPSIKioWRsYnDZL 2wsR0nBKtJhsQ5BXjRKk6UjYSR7KxPg= X-Google-Smtp-Source: ABdhPJyJpEFFMYnBxsUiJ0B9RCjY47Bc7JHG/47Q03SU0GyvTUJJpB0R0FRQki8dJ3h5JvQEOQrelg== X-Received: by 2002:a17:906:7003:: with SMTP id n3mr816174ejj.160.1642715592708; Thu, 20 Jan 2022 13:53:12 -0800 (PST) Received: from lelap.local (catv-89-132-245-188.catv.broadband.hu. [89.132.245.188]) by smtp.gmail.com with ESMTPSA id e17sm1405339eje.218.2022.01.20.13.53.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Jan 2022 13:53:12 -0800 (PST) From: Attila Lendvai Date: Thu, 20 Jan 2022 22:50:22 +0100 Message-Id: <20220120215045.24768-26-attila@lendvai.name> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220120215045.24768-2-attila@lendvai.name> References: <20220120215045.24768-2-attila@lendvai.name> 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 | 53 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 62b23d9292..2164794e0a 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -19552,6 +19552,59 @@ (define-public rust-fixed-1 (description "This package provides fixed-point numbers in Rust.") (license (list license:expat license:asl2.0)))) +(define-public rust-fixed-hash-0.7 + (package + (name "rust-fixed-hash") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "fixed-hash" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0g29r0zwf09kg70nprn0s444bn6nfsglmiafhl1pm8ajzvbhxkyg")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-arbitrary" ,rust-arbitrary-0.4) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-quickcheck" ,rust-quickcheck-0.9) + ("rust-rand" ,rust-rand-0.8) + ("rust-rustc-hex" ,rust-rustc-hex-2) + ("rust-static-assertions" ,rust-static-assertions-1)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.3) + ("rust-rand" ,rust-rand-0.8) + ("rust-rand-xorshift" ,rust-rand-xorshift-0.2)))) + (home-page "https://github.com/paritytech/parity-common") + (synopsis "Macros to define custom fixed-size hash types") + (description synopsis) + (license (list license:expat license:asl2.0)))) + +(define-public rust-fixed-hash-0.2 + (package + (inherit rust-fixed-hash-0.7) + (name "rust-fixed-hash") + (version "0.2.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "fixed-hash" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0wvj52bf37nhg6mv5h235zgdg7nsdarag58mf4i49cdgc3l6rzks")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-heapsize" ,rust-heapsize-0.4) + ("rust-libc" ,rust-libc-0.2) + ("rust-quickcheck" ,rust-quickcheck-0.6) + ("rust-rand" ,rust-rand-0.4) + ("rust-rustc-hex" ,rust-rustc-hex-2) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-uint" ,rust-uint-0.4)))))) + (define-public rust-fixedbitset-0.4 (package (name "rust-fixedbitset")