From patchwork Thu Jan 20 21:41:42 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Attila Lendvai X-Patchwork-Id: 36700 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 2A6DE27BBEA; Fri, 21 Jan 2022 00:49:29 +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 AABDF27BBE9 for ; Fri, 21 Jan 2022 00:49:28 +0000 (GMT) Received: from localhost ([::1]:53516 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nAi7L-0004bV-Ip for patchwork@mira.cbaines.net; Thu, 20 Jan 2022 19:49:27 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37208) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAfIk-0007W5-6m for guix-patches@gnu.org; Thu, 20 Jan 2022 16:49:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:38212) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nAfIj-0005BJ-Tq for guix-patches@gnu.org; Thu, 20 Jan 2022 16:49:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nAfIj-0001NF-NS for guix-patches@gnu.org; Thu, 20 Jan 2022 16:49:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53401] [PATCH 01/49] gnu: Add rust-rustc-hex 2.1.0 and 1.0.0. Resent-From: Attila Lendvai Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 20 Jan 2022 21:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 53401 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53401@debbugs.gnu.org Cc: Attila Lendvai X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16427153215252 (code B ref -1); Thu, 20 Jan 2022 21:49:01 +0000 Received: (at submit) by debbugs.gnu.org; 20 Jan 2022 21:48:41 +0000 Received: from localhost ([127.0.0.1]:59348 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nAfIP-0001Me-AB for submit@debbugs.gnu.org; Thu, 20 Jan 2022 16:48:41 -0500 Received: from lists.gnu.org ([209.51.188.17]:55056) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nAfIN-0001MX-Nt for submit@debbugs.gnu.org; Thu, 20 Jan 2022 16:48:40 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37150) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAfIN-0006ua-0F for guix-patches@gnu.org; Thu, 20 Jan 2022 16:48:39 -0500 Received: from [2a00:1450:4864:20::531] (port=40724 helo=mail-ed1-x531.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nAfIK-00057l-J3 for guix-patches@gnu.org; Thu, 20 Jan 2022 16:48:38 -0500 Received: by mail-ed1-x531.google.com with SMTP id a18so34469998edj.7 for ; Thu, 20 Jan 2022 13:48:24 -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:mime-version :content-transfer-encoding; bh=+p+lM/X4zZ04PfKKwdaNw7S85ji6FHbM70MD2wC4NpA=; b=QTH/uODTHt/Tn3MYyHLlMIj5QGc2LH0geFJnsfHTr71CBjCDRs+OO4TcwV37yDsS4v uhAursMXMjrreCkOLLU4aw4w0OXaRJXuqI+MVSmFPeV3sC9Lvoc9/vEnmESunRNwI0Su 1nzhPw+iQZGrtpq3/TIuHIalTiD0Yh7bDGBuIYo+rrdBGoMk7gJMR6QAcbPERRJejMSa 9rdPlWxxTmSUnWzJ9sW/OBAEndGPyp/QvcHqhB0HfbQHziUVdcq6tchXuAuQnqlJp0ZR eF3aLoz/o1JoxRZUFRLa7TDhnIvxuT2QuC7DO4OAnFkxesvNiZntw0Fv3SK6XI3SV1qK UuGw== 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 :mime-version:content-transfer-encoding; bh=+p+lM/X4zZ04PfKKwdaNw7S85ji6FHbM70MD2wC4NpA=; b=fwM8/iHeya27Cv+j5SXuDiTS+0oLYS9r00Q24Pw8k7wpYAXuXKnjmldX+NoP9+9yUn FvCRJLipUcghJWSjl0KayoOuDkbJ8bBX7V5tnKW0LRQPlkaFPiUvfgNAbh+19Ij41eMN f3hZn8MknpX75VcQKbyygVP4XNTJpDbHh80NCf6wbsJFw6UAWog+I1GDf1cnZm2buytP xr9xKgJYgrIvRovxZ4shy/gsdubwcqy3G4YLkGswDBdv09eWjn+gTpRF47yHN3nwaGsi Hn8U3J3LPEd+/xQPkzIeR2DdOEsIM+YwINsDvnpv0gPC4pA4tTbVtAxoJIkvfRZg1Fss /0dw== X-Gm-Message-State: AOAM532NK31Bk0r7BqxKTEMhhzLvqG/ojwjMVygOcNGWfG9BJhYvRXfw vX14bgpfhpdB3MotcTuvupp7JAdozek= X-Google-Smtp-Source: ABdhPJyRTxbzmTl+TJh63wr3enMw73jHo9JM73QBNIl1sJ6AMAbEyEqzMYZhhEYqSbj1TNv5Av0R7Q== X-Received: by 2002:a05:6402:190e:: with SMTP id e14mr1143829edz.274.1642715302686; Thu, 20 Jan 2022 13:48:22 -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 e2sm1426922ejr.210.2022.01.20.13.48.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Jan 2022 13:48:21 -0800 (PST) From: Attila Lendvai Date: Thu, 20 Jan 2022 22:41:42 +0100 Message-Id: <20220120214229.22377-1-attila@lendvai.name> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::531 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::531; envelope-from=attila.lendvai@gmail.com; helo=mail-ed1-x531.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.248, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.248, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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 --- this will be a larger series of rust packages that are part of the dependencies of openethereum. my ultimate goal is to package openethereum, but it's already so many commits that i'm sending them ahead as per Ludo's recommendation. note that i'm not a rust expert, but i tried to make sure that every package builds fine, and that the order of the commits matches the order of the dependencies. the tests are disabled for some packages because they fail. to my untrained eyes they all looked like incompatibilities (bitrot), not actual errors. also note that i have no intuition when/why to use #:skip-build? #t. gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index ffee43e716..b840cb1d2a 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -46028,6 +46028,39 @@ (define-public rust-rustc-hash-1 "This package provides a speedy, non-cryptographic hash used in rustc.") (license (list license:asl2.0 license:expat)))) +(define-public rust-rustc-hex-2 + (package + (name "rust-rustc-hex") + (version "2.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustc-hex" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1mkjy2vbn5kzg67wgngwddlk4snmd8mkjkql2dzrzzfh6ajzcx9y")))) + (build-system cargo-build-system) + (arguments `(#:skip-build? #t)) + (home-page "https://github.com/debris/rustc-hex") + (synopsis "@code{rustc-serialize} compatible hex conversion traits") + (description synopsis) + (license (list license:asl2.0 license:expat)))) + +(define-public rust-rustc-hex-1 + (package + (inherit rust-rustc-hex-2) + (name "rust-rustc-hex") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustc-hex" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "07pff94vqc1mhrqp9i06xzayiad4xfx7588zkqsdw875lpkqrsqc")))))) + (define-public rust-rustc-rayon-0.3 (package (name "rust-rustc-rayon")