mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 06:18:07 -05:00
gnu: Add rust-base-x.
* gnu/packages/crates-io.scm (rust-base-x): New variable.
This commit is contained in:
parent
90c48ddd76
commit
c988c9bb85
1 changed files with 23 additions and 0 deletions
|
@ -121,6 +121,29 @@ (define-public rust-autocfg
|
|||
(license (list license:asl2.0
|
||||
license:expat))))
|
||||
|
||||
(define-public rust-base-x
|
||||
(package
|
||||
(name "rust-base-x")
|
||||
(version "0.2.5")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "base-x" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0hv4y5cdhv6bk0ghk2434clw8v4mmk5cc9lsh6qrpri92zlfmx3n"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-development-inputs
|
||||
(("rust-bencher" ,rust-bencher)
|
||||
("rust-json" ,rust-json)
|
||||
("rust-rand" ,rust-rand-0.3))))
|
||||
(home-page "https://github.com/OrKoN/base-x-rs")
|
||||
(synopsis "Encode/decode any base")
|
||||
(description "This library provides for encoding and decoding any base.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public rust-bencher
|
||||
(package
|
||||
(name "rust-bencher")
|
||||
|
|
Loading…
Reference in a new issue