From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sLaRBwX26WH+WwAAgWs5BA (envelope-from ) for ; Fri, 21 Jan 2022 00:53:41 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id gDf+AwX26WGg2QAAauVa8A (envelope-from ) for ; Fri, 21 Jan 2022 00:53:41 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A4CB8F7CA for ; Fri, 21 Jan 2022 00:53:40 +0100 (CET) Received: from localhost ([::1]:53938 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nAhFL-00073W-SJ for larch@yhetil.org; Thu, 20 Jan 2022 18:53:39 -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 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1642722820; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=4Y7UoFvyu/+uaYVKTfunQGkZI3Ue27HT/WjisnIKr2I=; b=nM1N7QJPvWJ0a0BBUz8RYbY+Ec3BHdvmuBQoD3gcUqaAlgCEfRi5Q46R6PhERB0uXPYF9f 6Dr/b2X0Xi9XvBYcmjHtn2dFgDZ9wM4kQQy8ZSHsb4+J5tF9dXwNTh+Rx5+KrS7YgjW0Ad ya56ndVYSag06BO9yyAo+7KHLATELIRfBUeR4kQZGDG57gO9C1T4NVSNIwkcaN5iTjxItB b/8EVdAq/equ17YhV5xMRf1e2TuLssSaVd41hC+5bH/1qxD2FgZq94MaaSYSqmpmCXkbZ5 fUPi9MUQOxclWUaCa7E2aHM/odGpLyMG30n9nSousb17cIVjnA33AatV+cxVnw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642722820; a=rsa-sha256; cv=none; b=lj9/jxrZLnbUpt3Dz+diCZ6QkMcyLgtbepYFSVx9vUY3ZiSMKLW7ZZgs43JnwBS8j5y7Zy u8n29tNeyXF+Yvuc/OmQKE6VIeJPOyIgdKqhuLlv5RoHis2qdzJahw8kSru/A3+W+Mvp6l bGEM5o1Yl2HpxKbfr3Y8UWUG3EiHXSMcF2PDgaUXSCjqn3fzkED8LbAAgW2ucFDLAvyDuQ Aj+5YUZW8QOtvduIhf2vyt7eXxhCOkTcs6IsLrAU1h1J3yRMv/k5dz+a5J4CzfDZ74U7Nl gaeKwfYIgAxzLM5sQTRQYqbJ49G2jk4ozDHwCPL18/y+IylndNbHxksN8dK3Mg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=LEHCBeX3; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.62 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=LEHCBeX3; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: A4CB8F7CA X-Spam-Score: -1.62 X-Migadu-Scanner: scn0.migadu.com X-TUID: AYy4dp7eoviB 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") -- 2.34.0