GNU bug report logs - #53401
[PATCH 01/49] gnu: Add rust-rustc-hex 2.1.0 and 1.0.0.

Previous Next

Package: guix-patches;

Reported by: Attila Lendvai <attila <at> lendvai.name>

Date: Thu, 20 Jan 2022 21:49:01 UTC

Severity: normal

Tags: patch

Done: Attila Lendvai <attila <at> lendvai.name>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Attila Lendvai <attila <at> lendvai.name>
Subject: bug#53401: closed ((No Subject))
Date: Mon, 24 Jan 2022 11:44:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#53401: [PATCH 01/49] gnu: Add rust-rustc-hex 2.1.0 and 1.0.0.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 53401 <at> debbugs.gnu.org.

-- 
53401: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=53401
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Attila Lendvai <attila <at> lendvai.name>
To: "53401-close <at> debbugs.gnu.org" <53401-close <at> debbugs.gnu.org>
Subject: (No Subject)
Date: Mon, 24 Jan 2022 11:43:02 +0000
[Message part 3 (text/plain, inline)]
sadly enough this has developed countless merge conflicts.

closing this, and i will open a new one with a single diff.
[Message part 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
From: Attila Lendvai <attila <at> lendvai.name>
To: guix-patches <at> gnu.org
Cc: Attila Lendvai <attila <at> lendvai.name>
Subject: [PATCH 01/49] gnu: Add rust-rustc-hex 2.1.0 and 1.0.0.
Date: Thu, 20 Jan 2022 22:41:42 +0100
---

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")
-- 
2.34.0




This bug report was last modified 3 years and 114 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.