From ccaa61c438405dc1b9d53d61f294050fdddbe212 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 22 Feb 2023 12:17:21 +0200 Subject: [PATCH] gnu: Add rust-time-core-0.1. * gnu/packages/crates-io.scm (rust-time-core-0.1): New variable. --- gnu/packages/crates-io.scm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 266f30bd0e..ffd0dbc881 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -61790,6 +61790,24 @@ in Rust.") (license (list license:asl2.0 license:expat)))) +(define-public rust-time-core-0.1 + (package + (name "rust-time-core") + (version "0.1.0") + (source (origin + (method url-fetch) + (uri (crate-uri "time-core" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1z803zwzyh16nk3c4nmkw8v69nyj0r4v8s3yag68mvya38gkw59f")))) + (build-system cargo-build-system) + (arguments '(#:tests? #f)) ; Doc tests fail. + (home-page "https://github.com/time-rs/time") + (synopsis "Implementation for the time crate") + (description "This crate is an implementation detail for the time crate and +should not be relied upon directly.") + (license (list license:expat license:asl2.0)))) + (define-public rust-time-macros-0.2 (package (name "rust-time-macros")