diff options
author | Arun Isaac <arunisaac@systemreboot.net> | 2020-09-17 14:37:14 +0530 |
---|---|---|
committer | Arun Isaac <arunisaac@systemreboot.net> | 2020-10-12 11:41:53 +0530 |
commit | df747a09b366ddba6a6e122ad2073edf5559dd8b (patch) | |
tree | 65a6f63ed4eff1f97b90036d77265219f3a9745a /gnu/packages/crates-io.scm | |
parent | c8ec1b8789d4bb90fb7dbbe98101d71e44df9588 (diff) | |
download | guix-df747a09b366ddba6a6e122ad2073edf5559dd8b.tar guix-df747a09b366ddba6a6e122ad2073edf5559dd8b.tar.gz |
gnu: Add rust-time-macros-0.1.
* gnu/packages/crates-io.scm (rust-time-macros-0.1): New variable.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 8fb2c43e7a..5567cdf538 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -26180,6 +26180,29 @@ in Rust.") (license (list license:asl2.0 license:expat)))) +(define-public rust-time-macros-0.1 + (package + (name "rust-time-macros") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "time-macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0bdbxjgbxb81xgy08h5dh4qvwy95sy9x8g1y31g11g4my3lvdscs")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5) + ("rust-time-macros-impl" ,rust-time-macros-impl-0.1)))) + (home-page "https://github.com/time-rs/time") + (synopsis "Procedural macros for the time crate") + (description "This package provides procedural macros for the time +crate.") + (license (list license:expat license:asl2.0)))) + (define-public rust-time-macros-impl-0.1 (package (name "rust-time-macros-impl") |