mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-22 18:49:14 -05:00
gnu: Add rust-num-conv-0.1.
* gnu/packages/crates-io.scm (rust-num-conv-0.1): New variable. Change-Id: Ife3e60b45c8bbbdeef1e2021b57ec85b1e6a894c
This commit is contained in:
parent
e190289e6b
commit
eff86859fa
1 changed files with 20 additions and 0 deletions
|
@ -42766,6 +42766,26 @@ (define-public rust-num-complex-0.1
|
||||||
("rust-rustc-serialize" ,rust-rustc-serialize-0.3)
|
("rust-rustc-serialize" ,rust-rustc-serialize-0.3)
|
||||||
("rust-serde" ,rust-serde-0.8))))))
|
("rust-serde" ,rust-serde-0.8))))))
|
||||||
|
|
||||||
|
(define-public rust-num-conv-0.1
|
||||||
|
(package
|
||||||
|
(name "rust-num-conv")
|
||||||
|
(version "0.1.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "num-conv" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "1ndiyg82q73783jq18isi71a7mjh56wxrk52rlvyx0mi5z9ibmai"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(home-page "https://github.com/jhpratt/num-conv")
|
||||||
|
(synopsis "Convert between integer types")
|
||||||
|
(description
|
||||||
|
"@code{num_conv} is a crate to convert between integer types without using
|
||||||
|
@code{as} casts. This provides better certainty when refactoring, makes the
|
||||||
|
exact behavior of code more explicit, and allows using turbofish syntax.")
|
||||||
|
(license (list license:expat license:asl2.0))))
|
||||||
|
|
||||||
(define-public rust-num-cpus-1
|
(define-public rust-num-cpus-1
|
||||||
(package
|
(package
|
||||||
(name "rust-num-cpus")
|
(name "rust-num-cpus")
|
||||||
|
|
Loading…
Reference in a new issue