guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

47/330: gnu: Add rust-hashlink-0.9.


From: guix-commits
Subject: 47/330: gnu: Add rust-hashlink-0.9.
Date: Mon, 18 Mar 2024 07:15:06 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 0f087fc950d9b5b471399debc1d61e6b307560b3
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Mar 14 12:27:45 2024 +0200

    gnu: Add rust-hashlink-0.9.
    
    * gnu/packages/crates-io.scm (rust-hashlink-0.9): New variable.
    (rust-hashlink-0.8): Inherit from rust-hashlink-0.9.
    
    Change-Id: I9a4e1592f457d9aa51bb96b1b4549900825eadea
---
 gnu/packages/crates-io.scm | 32 +++++++++++++++++++++++++-------
 1 file changed, 25 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a3b7a1e352..02ce006068 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -28313,8 +28313,32 @@ hash map.")
         ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)
         ("rust-serde" ,rust-serde-1))))))
 
+(define-public rust-hashlink-0.9
+  (package
+    (name "rust-hashlink")
+    (version "0.9.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "hashlink" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1vi5nxldy84raw4jy0fq059xq7mnfha0y2gg7kfihxb0yzvslbk9"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-hashbrown" ,rust-hashbrown-0.14)
+                       ("rust-serde" ,rust-serde-1))
+       #:cargo-development-inputs (("rust-rustc-hash" ,rust-rustc-hash-1)
+                                   ("rust-serde-test" ,rust-serde-test-1))))
+    (home-page "https://github.com/kyren/hashlink";)
+    (synopsis "HashMap-like containers with user controllable order")
+    (description "This package provides HashMap-like containers that hold
+their key-value pairs in a user controllable order.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-hashlink-0.8
   (package
+    (inherit rust-hashlink-0.9)
     (name "rust-hashlink")
     (version "0.8.2")
     (source (origin
@@ -28324,19 +28348,13 @@ hash map.")
               (sha256
                (base32
                 "1ap6ar5jlqq6ln7d9r2j5079mbx0zg8643xacqyjwkqw96ws2q87"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-hashbrown" ,rust-hashbrown-0.13)
         ("rust-serde" ,rust-serde-1))
        #:cargo-development-inputs
        (("rust-rustc-hash" ,rust-rustc-hash-1)
-        ("rust-serde-test" ,rust-serde-test-1))))
-    (home-page "https://github.com/kyren/hashlink";)
-    (synopsis "HashMap-like containers with user controllable order")
-    (description "This package provides HashMap-like containers that hold
-their key-value pairs in a user controllable order.")
-    (license (list license:expat license:asl2.0))))
+        ("rust-serde-test" ,rust-serde-test-1))))))
 
 (define-public rust-hashlink-0.7
   (package



reply via email to

[Prev in Thread] Current Thread [Next in Thread]