guix-commits
[Top][All Lists]
Advanced

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

17/62: gnu: Add rust-branches-0.1.


From: guix-commits
Subject: 17/62: gnu: Add rust-branches-0.1.
Date: Wed, 13 Mar 2024 16:22:17 -0400 (EDT)

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

commit fe9ed40a29f2a756bcb032ffe75d52375c50a762
Author: Herman Rimm <herman@rimm.ee>
AuthorDate: Sun Feb 18 22:02:15 2024 +0100

    gnu: Add rust-branches-0.1.
    
    * gnu/packages/crates-io.scm (rust-branches-0.1): Add variable.
    
    Change-Id: I5e058f07ceff79965473f27f3a22aa98cb0151a3
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/crates-io.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8be1389a7f..acf67268c4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7866,6 +7866,26 @@ program to verify sandboxing measures are adequate.")
         ("rust-rustls" ,rust-rustls-0.16)
         ("rust-sha2" ,rust-sha2-0.9))))))
 
+(define-public rust-branches-0.1
+  (package
+    (name "rust-branches")
+    (version "0.1.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "branches" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0alxmzmms4s8vv1v94y2kdq49a4p7728fgkpxx36z2m092bznn3r"))))
+    (build-system cargo-build-system)
+    (home-page "https://github.com/fereidani/branches";)
+    (synopsis "Branch hinting prediction and control functions")
+    (description
+     "This package provides branch hinting prediction and control functions for
+stable Rust including likely, unlikely, assume and abort to help algorithm
+optimization.")
+    (license license:expat)))
+
 (define-public rust-bresenham-0.1
   (package
     (name "rust-bresenham")



reply via email to

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