From patchwork Thu Jan 20 21:50:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Attila Lendvai X-Patchwork-Id: 36680 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 8743527BBEA; Thu, 20 Jan 2022 23:53:47 +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 02DA027BBE9 for ; Thu, 20 Jan 2022 23:53:47 +0000 (GMT) Received: from localhost ([::1]:53938 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nAhFQ-00073W-6C for patchwork@mira.cbaines.net; Thu, 20 Jan 2022 18:53:46 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38222) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAfOX-0003KO-FD for guix-patches@gnu.org; Thu, 20 Jan 2022 16:55:01 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:38405) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nAfNw-0005yO-Oz for guix-patches@gnu.org; Thu, 20 Jan 2022 16:54:41 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nAfNw-0001kX-O0 for guix-patches@gnu.org; Thu, 20 Jan 2022 16:54:24 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53401] [PATCH 48/49] gnu: rust-rlp, rust-impl-rlp, rust-primitive-types Resent-From: Attila Lendvai Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 20 Jan 2022 21:54:24 +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.16427156526517 (code B ref 53401); Thu, 20 Jan 2022 21:54:24 +0000 Received: (at 53401) by debbugs.gnu.org; 20 Jan 2022 21:54:12 +0000 Received: from localhost ([127.0.0.1]:59510 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nAfNj-0001gp-Er for submit@debbugs.gnu.org; Thu, 20 Jan 2022 16:54:12 -0500 Received: from mail-ed1-f41.google.com ([209.85.208.41]:41866) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nAfN8-0001aL-7x for 53401@debbugs.gnu.org; Thu, 20 Jan 2022 16:53:37 -0500 Received: by mail-ed1-f41.google.com with SMTP id j2so34462241edj.8 for <53401@debbugs.gnu.org>; Thu, 20 Jan 2022 13:53:34 -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=4Y7UoFvyu/+uaYVKTfunQGkZI3Ue27HT/WjisnIKr2I=; b=LEHCBeX30GmH2qIM89yofwze7P3NYm+9rl2j0Uoo/xMW5y8UCi00WXp+6J0c90XOuD A1uHdtQ5V9tiC3CTbcAMZsX+d6EC1qLMeEf8SZFgmcuA9993lc0AnEYQT2YCdLSdG1tM P5PZVdD8d7kvREBQERa0uiqBJNnogkbTBqYGfT2vqAOtlcI1qFYo0M9MTrdHztkUe6Ff sZiUy9945RPlagHkhWvRnU/HSLypeYGYJQvtHgC/0kBv9FKa+hqSjDIQ943pNFQVqEx2 cjn8+zeQSu481QI87enAHAaOVa7eAz6Y4Gpx9YoZqth3taaxGne5doPAqWDJ4SLcOw3k UBDA== 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=4Y7UoFvyu/+uaYVKTfunQGkZI3Ue27HT/WjisnIKr2I=; b=A+6rYQSuqOEACaHxNMLjJSVyZrvQc/HLm/+0Mn0Dsvdwt/IVVrRN1EBvKAXnAr90ri Fm3OcukcWNZP4EBzs1cN6DdY2ULJA4eVolZO9YmKhAFlDTXCZ3l1lJLvWDwAIN6yLcGF TA2DxusOsjEDjjQ0jDbgyeCwJfufCVtRTAwigeJEcZHcXMuIpqcMLv39u+kdEE1azdZw httAphr9VGMAzRQWchvxXtrR1+tvRFWx7kagJ3GANXT9ruKKmXAyxuPuz4x+HYWPn08V IeYuebNqS7jHDZjTiqUALwiFUWgkQtTlDkZqzPaaLbOFun8EaF3nGpmj9Pg/hjkyN8fq LLmw== X-Gm-Message-State: AOAM5317AmB9i5mpwuYt4Jq67FQ5XZIUONoTDn+u8yY+9m87V6k4igrV nyNp5SAVnQ8s6eHKaUPe9R383MZtFTA= X-Google-Smtp-Source: ABdhPJzQFol0/h+c7GxG/3C6QRnf2gBzgan3ycKZjGD4vqV6Tks+d2GADzZ+QStpMSwLIggw2KoW6w== X-Received: by 2002:a17:906:305b:: with SMTP id d27mr782038ejd.316.1642715608662; Thu, 20 Jan 2022 13:53:28 -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.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Jan 2022 13:53:28 -0800 (PST) From: Attila Lendvai Date: Thu, 20 Jan 2022 22:50:44 +0100 Message-Id: <20220120215045.24768-48-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 rust-rlp 0.5.1 rust-impl-rlp 0.3.0 rust-primitive-types 0.10.1 They have a circular dependency through #:cargo-development-inputs and therefore they must be added in a single commit. --- gnu/packages/crates-io.scm | 80 +++++++++++++++++++++++++++++++++++--- 1 file changed, 74 insertions(+), 6 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 08546fcc1e..a5effbdb26 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -40876,6 +40876,32 @@ (define-public rust-prettytable-rs-0.8 formatted tables in terminal.") (license license:bsd-3))) +(define-public rust-primitive-types-0.10 + (package + (name "rust-primitive-types") + (version "0.10.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "primitive-types" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0wr3yhpc59m5xbhqs69j8qm0hz0xh8q8r806bnfsjn3sd4n75r05")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-fixed-hash" ,rust-fixed-hash-0.7) + ("rust-impl-codec" ,rust-impl-codec-0.5) + ("rust-impl-num-traits" ,rust-impl-num-traits-0.1) + ("rust-impl-rlp" ,rust-impl-rlp-0.3) + ("rust-impl-serde" ,rust-impl-serde-0.3) + ("rust-scale-info" ,rust-scale-info-1) + ("rust-uint" ,rust-uint-0.9)))) + (home-page "https://github.com/paritytech/parity-common") + (synopsis "Primitive types shared by Ethereum and Substrate") + (description synopsis) + (license (list license:expat license:asl2.0)))) + (define-public rust-proc-macro-crate-1 (package (name "rust-proc-macro-crate") @@ -44968,31 +44994,53 @@ (define-public rust-rle-decode-fast-1 your own implementation.") (license (list license:expat license:asl2.0)))) -(define-public rust-rlp-0.3 +(define-public rust-rlp-0.5 (package (name "rust-rlp") - (version "0.3.0") + (version "0.5.1") (source (origin (method url-fetch) (uri (crate-uri "rlp" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "082pfkdzsnzvqr5yx5qb2hildjg597p2115ywy84zma5k3zfzl8n")))) + (base32 "1da7b1hc4czlmsyr7ifs9bz9fv8hi5dw8q14xnmjlydfn2mhi5cr")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; The tests fail. #:cargo-inputs - (("rust-byteorder" ,rust-byteorder-1) - ("rust-ethereum-types" ,rust-ethereum-types-0.4) + (("rust-bytes" ,rust-bytes-1) ("rust-rustc-hex" ,rust-rustc-hex-2)) #:cargo-development-inputs - (("rust-hex-literal" ,rust-hex-literal-0.1)))) + (("rust-criterion" ,rust-criterion-0.3) + ("rust-hex-literal" ,rust-hex-literal-0.3) + ("rust-primitive-types" ,rust-primitive-types-0.10)))) (home-page "https://github.com/paritytech/parity-common") (synopsis "Recursive-length prefix encoding, decoding, and compression") (description synopsis) (license (list license:expat license:asl2.0)))) +(define-public rust-rlp-0.3 + (package + (inherit rust-rlp-0.5) + (name "rust-rlp") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rlp" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "082pfkdzsnzvqr5yx5qb2hildjg597p2115ywy84zma5k3zfzl8n")))) + (arguments + `(#:tests? #f ; The tests fail. + #:cargo-inputs + (("rust-byteorder" ,rust-byteorder-1) + ("rust-ethereum-types" ,rust-ethereum-types-0.4) + ("rust-rustc-hex" ,rust-rustc-hex-2)) + #:cargo-development-inputs + (("rust-hex-literal" ,rust-hex-literal-0.1)))))) + (define-public rust-rls-span-0.5 (package (name "rust-rls-span") @@ -67048,6 +67096,26 @@ (define-public rust-impl-num-traits-0.1 (description synopsis) (license (list license:expat license:asl2.0)))) +(define-public rust-impl-rlp-0.3 + (package + (name "rust-impl-rlp") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "impl-rlp" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "021869d5s47ili9kmhm9y80qpsbf0wwdap14qzfpb84pjbw210pj")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-rlp" ,rust-rlp-0.5)))) + (home-page "https://github.com/paritytech/parity-common") + (synopsis "RLP serialization support for uint and fixed hash") + (description synopsis) + (license (list license:expat license:asl2.0)))) + (define-public rust-impl-serde-0.3 (package (name "rust-impl-serde")