[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
28/41: gnu: Add rust-filetime.
From: |
guix-commits |
Subject: |
28/41: gnu: Add rust-filetime. |
Date: |
Fri, 6 Sep 2019 08:47:30 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit 27438eb81725fe031d8d3bea7de45ef412e5b184
Author: Efraim Flashner <address@hidden>
Date: Thu Sep 5 18:32:38 2019 +0300
gnu: Add rust-filetime.
* gnu/packages/crates-io.scm (rust-filetime): New variable.
---
gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a56faa0..971aec2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -594,6 +594,38 @@ provides implementations for @code{HashMap} and
@code{HashSet}.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-filetime
+ (package
+ (name "rust-filetime")
+ (version "0.2.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "filetime" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0sflihq2l77xjrza7yjalnxsc7dxzg25rhzcfbd9vmyfah5kimvb"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-cfg-if" ,rust-cfg-if)
+ ("rust-libc" ,rust-libc)
+ ("rust-redox-syscall" ,rust-redox-syscall)
+ ("rust-winapi" ,rust-winapi))
+ #:cargo-development-inputs
+ (("rust-tempdir" ,rust-tempdir))))
+ (home-page "https://github.com/alexcrichton/filetime")
+ (synopsis "Platform-agnostic accessors of timestamps in File metadata")
+ (description
+ "This library contains a helper library for inspecting and setting the
+various timestamps of files in Rust. This library takes into account
+cross-platform differences in terms of where the timestamps are located, what
+they are called, and how to convert them into a platform-independent
+representation.")
+ (license (list license:asl2.0
+ license:expat))))
+
(define-public rust-findshlibs
(package
(name "rust-findshlibs")
- 21/41: gnu: Add rust-pico-sys., (continued)
- 21/41: gnu: Add rust-pico-sys., guix-commits, 2019/09/06
- 24/41: gnu: Add rust-jemalloc-sys., guix-commits, 2019/09/06
- 41/41: gnu: Add rust-parity-wasm., guix-commits, 2019/09/06
- 23/41: gnu: Add rust-cargon., guix-commits, 2019/09/06
- 34/41: gnu: Add rust-sourcefile., guix-commits, 2019/09/06
- 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 <=
- 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, 2019/09/06
- 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