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>
This commit is contained in:
Herman Rimm 2024-02-18 22:02:15 +01:00 committed by Efraim Flashner
parent 66c0011f61
commit 32fcb420c2
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -7927,6 +7927,26 @@ (define-public rust-boxxy-0.12
("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")