[PATCH rust-team] add rust-rustc-hash-2

  • Done
  • quality assurance status badge
Details
2 participants
  • Efraim Flashner
  • Rick Huijzer
Owner
unassigned
Submitted by
Rick Huijzer
Severity
normal
R
R
Rick Huijzer wrote on 12 Nov 17:34 +0100
(address . guix-patches@gnu.org)
20241112164259.1343-2-ikbenrickhuyzer@gmail.com
---

I need a newer version of rustc-hash because I want to upgrade
tree-sitter because I want to upgrade neovim (and so on)

Is it acceptable this way?

gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)

Toggle diff (43 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e70fb90401..899f557f57 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -45,6 +45,7 @@
;;; Copyright © 2024 Aaron Covrig <aaron.covrig.us@ieee.org>
;;; Copyright © 2024 Nguy?n Gia Phong <mcsinyx@disroot.org>
;;; Copyright © 2024 Jordan Moore <lockbox@struct.foo>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -67554,6 +67555,27 @@ (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-hash-2
+ (package
+ (name "rust-rustc-hash")
+ (version "2.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rustc-hash" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0lni0lf846bzrf3jvci6jaf4142n1mdqxvcpczk5ch9pfgyk8c2q"))))
+ (build-system cargo-build-system)
+ (arguments `(#:skip-build? #t))
+ (home-page "https://github.com/rust-lang/rustc-hash")
+ (synopsis "Speedy, non-cryptographic hash used in rustc")
+ (description
+ "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")

base-commit: e3b52240386ce8000494e46981abfd07a03c53b4
--
2.46.0
E
E
Efraim Flashner wrote on 17 Nov 20:32 +0100
(name . Rick Huijzer)(address . ikbenrickhuyzer@gmail.com)(address . 74323-done@debbugs.gnu.org)
ZzpEtTX9ue9_6VLr@3900XT
Thanks. I tweaked the patch slightly so rust-rustc-hash-1 inherited from
rust-rustc-hash-2 and pushed it to the rust-team branch.

--
Efraim Flashner <efraim@flashner.co.il> ????? ?????
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmc6RLEACgkQQarn3Mo9
g1GUsw//UuyZfm9EH+ygLoP+U7pWgAAMy1MVGNRt/L0jMWXG1O3dtPEw73JwcDWK
Reu852Dd/iiFNNfcuo1y6FmtSOoHKL4FKuaqsxN/YmwPQ2BMpnmJLyGSY4YIr5+d
nYVfyyPQlSXhwHgUwppOzHbWu4SgQAGu+hqcJmP75alWsnZrNygpXelkSdu+XtsF
BtVURpGB6Q/aKxzpu6xMwUnGNQQHHYM+13mJ4efgTYZzDHbOuflaaa5WVH4k0oQg
3UTwoN1kHcNCAdhsofjbekwPF9m7QnPss0QnDa7KaACUDPdD86XSKBnh36n7ax6p
28l6Fh7aCWNvKDJWzOhDPC5dyE0gk48HhVr5LW85+viPymJx1n4ci4m0VIGCjgck
qk1Mgjgz27qYAoVfbR2ueoeOnWhICRp2FXUZe5RON/I8jORYh7ruQplKmV2eLdLj
k5qHHpKru7aPRCD+4XV5D1z0a0+yHwDdEw87j6aGRf2Uj1HcLjcAjDE5sT8grVn6
zOGx4j01f/O3pomQbyOW4oXx0/Z2T++4c6o4WNBhRlE3lGkuBVpZmi58mua7pPu/
LTYshlQOeDFEoHNWmz5yqMAiLh67JuDRijJDZiZLWx+Vnw/RFXHfRMVq1mCXD91Z
AARVC2wrtLcMhbnnsTD8AiSpUPDkPwiNwS706WZzcEW6+6N/DTk=
=sRDN
-----END PGP SIGNATURE-----


Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 74323@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 74323
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch