me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-atoi-2.

* gnu/packages/crates-io.scm (rust-atoi-2): New variable.

Change-Id: I61e500322c011606cfa735f43d66a5f509c34d70
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
master
Wilko Meyer 2024-01-08 02:51:45 +01:00 committed by Efraim Flashner
parent ccbd4d2561
commit 8301774cab
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 20 additions and 0 deletions

View File

@ -4886,6 +4886,26 @@ crate.")
methods.") methods.")
(license (list license:expat license:asl2.0)))) (license (list license:expat license:asl2.0))))
(define-public rust-atoi-2
(package
(name "rust-atoi")
(version "2.0.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "atoi" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0a05h42fggmy7h0ajjv6m7z72l924i7igbx13hk9d8pyign9k3gj"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-num-traits" ,rust-num-traits-0.2))
#:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.4))))
(home-page "https://github.com/pacman82/atoi-rs")
(synopsis "Parse integers directly from `[u8]` slices in safe code")
(description "Parse integers directly from `[u8]` slices in safe code.")
(license license:expat)))
(define-public rust-atom-0.3 (define-public rust-atom-0.3
(package (package
(name "rust-atom") (name "rust-atom")