[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
40/41: gnu: Add rust-time.
From: |
guix-commits |
Subject: |
40/41: gnu: Add rust-time. |
Date: |
Fri, 6 Sep 2019 08:47:32 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit 540d830edc910dd85c0d84f922a4d26848c1b35e
Author: Efraim Flashner <address@hidden>
Date: Thu Sep 5 20:53:02 2019 +0300
gnu: Add rust-time.
* gnu/packages/crates-io.scm (rust-time): New variable.
---
gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2756a19..ab3513a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3191,6 +3191,37 @@ fixed set of worker threads.")
(license (list license:asl2.0
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
(package
(name "rust-tokio-mock-task")
- 35/41: gnu: Add rust-glob., (continued)
- 35/41: gnu: Add rust-glob., guix-commits, 2019/09/06
- 39/41: gnu: Add rust-semver-parser-0.7., guix-commits, 2019/09/06
- 02/41: gnu: Add rust-rand-0.3., guix-commits, 2019/09/06
- 13/41: gnu: Add rust-vcpkg., guix-commits, 2019/09/06
- 31/41: gnu: Add rust-ansi-term., guix-commits, 2019/09/06
- 28/41: gnu: Add rust-filetime., guix-commits, 2019/09/06
- 26/41: gnu: Add rust-tempfile., guix-commits, 2019/09/06
- 30/41: gnu: Add rust-socket2., guix-commits, 2019/09/06
- 33/41: gnu: Add rust-miow-0.2., guix-commits, 2019/09/06
- 01/41: gnu: Add rust-rand., guix-commits, 2019/09/06
- 40/41: gnu: Add rust-time.,
guix-commits <=
- 37/41: gnu: Add rust-clang-sys., guix-commits, 2019/09/06
- 38/41: gnu: Add rust-getopts., guix-commits, 2019/09/06
- 29/41: gnu: Add rust-tar., guix-commits, 2019/09/06
- 32/41: gnu: Add rust-miow., guix-commits, 2019/09/06