mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-06 03:17:15 -05:00
gnu: Add rust-timeago-0.4.
* gnu/packages/crates-io.scm (rust-timeago-0.4): New variable. Signed-off-by: Jaeme Sifat <jaeme@runbox.com> Change-Id: I5be1440e86fd04f6e9e3307f2ac14f7f0baef27a Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
b0dd9ac3a7
commit
73a7985e50
1 changed files with 22 additions and 0 deletions
|
@ -77425,6 +77425,28 @@ (define-public rust-time-0.1
|
||||||
(license (list license:asl2.0
|
(license (list license:asl2.0
|
||||||
license:expat))))
|
license:expat))))
|
||||||
|
|
||||||
|
(define-public rust-timeago-0.4
|
||||||
|
(package
|
||||||
|
(name "rust-timeago")
|
||||||
|
(version "0.4.2")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "timeago" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "1rnh92sh1l4jbjvz4g7xvcvmfh7nk5k7mm2w56pnm9z0kmc0wwd1"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:cargo-inputs (("rust-chrono" ,rust-chrono-0.4)
|
||||||
|
("rust-isolang" ,rust-isolang-2))))
|
||||||
|
(home-page "https://github.com/vi/timeago")
|
||||||
|
(synopsis "Time formatting library in Rust")
|
||||||
|
(description
|
||||||
|
"This package provides a time formatting library in Rust that converts
|
||||||
|
durations into strings. For example, \"1 hour ago\" or \"01hou\".")
|
||||||
|
(license (list license:expat license:asl2.0))))
|
||||||
|
|
||||||
(define-public rust-time-core-0.1
|
(define-public rust-time-core-0.1
|
||||||
(package
|
(package
|
||||||
(name "rust-time-core")
|
(name "rust-time-core")
|
||||||
|
|
Loading…
Reference in a new issue