all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#74323] [PATCH rust-team] add rust-rustc-hash-2
@ 2024-11-12 16:34 Rick Huijzer
  2024-11-17 19:32 ` bug#74323: " Efraim Flashner
  0 siblings, 1 reply; 2+ messages in thread
From: Rick Huijzer @ 2024-11-12 16:34 UTC (permalink / raw)
  To: 74323; +Cc: efraim, Rick Huijzer

---

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(+)

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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#74323: [PATCH rust-team] add rust-rustc-hash-2
  2024-11-12 16:34 [bug#74323] [PATCH rust-team] add rust-rustc-hash-2 Rick Huijzer
@ 2024-11-17 19:32 ` Efraim Flashner
  0 siblings, 0 replies; 2+ messages in thread
From: Efraim Flashner @ 2024-11-17 19:32 UTC (permalink / raw)
  To: Rick Huijzer; +Cc: 74323-done

[-- Attachment #1: Type: text/plain, Size: 345 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-11-17 19:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-12 16:34 [bug#74323] [PATCH rust-team] add rust-rustc-hash-2 Rick Huijzer
2024-11-17 19:32 ` bug#74323: " Efraim Flashner

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.