me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-enum-iterator-1.

* gnu/packages/crates-io.scm (rust-enum-iterator-1): New variable.

Change-Id: I25b636480e591085eef167b43eacb71781971e8b
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
master
Jaeme Sifat 2023-10-30 22:52:26 -04:00 committed by Efraim Flashner
parent 05f1a6b86c
commit 4dfd77061c
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 23 additions and 0 deletions

View File

@ -24622,6 +24622,29 @@ accessor functions on enums.")
increasing their method call speed up to 10x.")
(license (list license:expat license:asl2.0))))
(define-public rust-enum-iterator-1
(package
(name "rust-enum-iterator")
(version "1.4.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "enum-iterator" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "12g63d7w5vpq964f7fbnahw2qiqsml3f9j3rxrk6f1yxnmrkipbs"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-enum-iterator-derive" ,rust-enum-iterator-derive-1))))
(home-page "https://github.com/stephaneyfx/enum-iterator")
(synopsis
"Tools to iterate over all values of a type (e.g. all variants of an
enumeration)")
(description
"This package provides tools to iterate over all values of a
type (e.g. all variants of an enumeration)")
(license license:bsd-0)))
(define-public rust-enum-iterator-derive-1
(package
(name "rust-enum-iterator-derive")