mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 14:28:15 -05:00
gnu: Add rust-time-macros-0.1.
* gnu/packages/crates-io.scm (rust-time-macros-0.1): New variable.
This commit is contained in:
parent
c8ec1b8789
commit
df747a09b3
1 changed files with 23 additions and 0 deletions
|
@ -26180,6 +26180,29 @@ (define-public rust-time-0.1
|
|||
(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")
|
||||
|
|
Loading…
Reference in a new issue