mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-01 23:36:35 +01:00
gnu: Add rust-atoi-1.
* gnu/packages/crates-io.scm (rust-atoi-1): New variable. Change-Id: I7a760375e5da8303d95b8708e9ec0b6b7f18e543
This commit is contained in:
parent
dddd151c5d
commit
8976605b6b
1 changed files with 16 additions and 0 deletions
|
@ -6207,6 +6207,22 @@ (define-public rust-atoi-2
|
|||
(description "Parse integers directly from `[u8]` slices in safe code.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public rust-atoi-1
|
||||
(package
|
||||
(inherit rust-atoi-2)
|
||||
(name "rust-atoi")
|
||||
(version "1.0.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "atoi" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "13mycnr954w17lcvvbpzr4rmhl1h13cg8hq63j0rrx9g6497vifp"))))
|
||||
(arguments
|
||||
`(#:cargo-inputs (("rust-num-traits" ,rust-num-traits-0.2))
|
||||
#:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3))))))
|
||||
|
||||
(define-public rust-atoi-0.4
|
||||
(package
|
||||
(inherit rust-atoi-2)
|
||||
|
|
Loading…
Reference in a new issue