mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-27 04:59:27 -05:00
gnu: Add rust-time.
* gnu/packages/crates-io.scm (rust-time): New variable.
This commit is contained in:
parent
4282cbe9b0
commit
540d830edc
1 changed files with 31 additions and 0 deletions
|
@ -3191,6 +3191,37 @@ (define-public rust-threadpool
|
||||||
(license (list license:asl2.0
|
(license (list license:asl2.0
|
||||||
license:expat))))
|
license:expat))))
|
||||||
|
|
||||||
|
(define-public rust-time
|
||||||
|
(package
|
||||||
|
(name "rust-time")
|
||||||
|
(version "0.1.39")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "time" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"161hqx0gw722ikydanpahky447vaxqncwmkj66rny282vzqpalx1"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:cargo-inputs
|
||||||
|
(("rust-libc" ,rust-libc)
|
||||||
|
("rust-redox-syscall" ,rust-redox-syscall)
|
||||||
|
("rust-rustc-serialize" ,rust-rustc-serialize)
|
||||||
|
("rust-winapi" ,rust-winapi))
|
||||||
|
#:cargo-development-inputs
|
||||||
|
(("rust-log" ,rust-log)
|
||||||
|
("rust-winapi" ,rust-winapi))
|
||||||
|
#:tests? #f)) ; Tests have difficulty with the timezones.
|
||||||
|
(home-page "https://github.com/rust-lang-deprecated/time")
|
||||||
|
(synopsis "Simple time handling in Rust")
|
||||||
|
(description
|
||||||
|
"This package provides utilities for working with time-related functions
|
||||||
|
in Rust.")
|
||||||
|
(license (list license:asl2.0
|
||||||
|
license:expat))))
|
||||||
|
|
||||||
(define-public rust-tokio-mock-task
|
(define-public rust-tokio-mock-task
|
||||||
(package
|
(package
|
||||||
(name "rust-tokio-mock-task")
|
(name "rust-tokio-mock-task")
|
||||||
|
|
Loading…
Reference in a new issue