gnu: Add rust-time-0.3.
* gnu/packages/crates-io.scm (rust-time-0.3): New variable. (rust-time-0.2): Inherit from above.master
parent
d2e01e4ebc
commit
b3edece7d7
|
@ -55802,8 +55802,37 @@ fixed set of worker threads.")
|
||||||
introspection APIs.")
|
introspection APIs.")
|
||||||
(license (list license:expat license:asl2.0))))
|
(license (list license:expat license:asl2.0))))
|
||||||
|
|
||||||
|
(define-public rust-time-0.3
|
||||||
|
(package
|
||||||
|
(name "rust-time")
|
||||||
|
(version "0.3.5")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "time" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "1b943jf54q1667i328x3z73fsjdhcqdqccxckx1nzwwaz9ygxvs1"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:skip-build? #t
|
||||||
|
#:cargo-inputs
|
||||||
|
(("rust-itoa" ,rust-itoa-0.4)
|
||||||
|
("rust-libc" ,rust-libc-0.2)
|
||||||
|
("rust-quickcheck" ,rust-quickcheck-1)
|
||||||
|
("rust-rand" ,rust-rand-0.8)
|
||||||
|
("rust-serde" ,rust-serde-1)
|
||||||
|
("rust-time-macros" ,rust-time-macros-0.2))))
|
||||||
|
(home-page "https://github.com/time-rs/time")
|
||||||
|
(synopsis "Date and time library")
|
||||||
|
(description "This package provides a date and time library. It is fully
|
||||||
|
interoperable with the standard library, and is mostly compatible with
|
||||||
|
@code{#![no_std]}.")
|
||||||
|
(license (list license:expat license:asl2.0))))
|
||||||
|
|
||||||
(define-public rust-time-0.2
|
(define-public rust-time-0.2
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-time-0.3)
|
||||||
(name "rust-time")
|
(name "rust-time")
|
||||||
(version "0.2.23")
|
(version "0.2.23")
|
||||||
(source
|
(source
|
||||||
|
@ -55813,7 +55842,6 @@ introspection APIs.")
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "12z95k0005rmyn9pf9v4hq80khsns7y5wfydnjr5jpci2yiyxnmw"))))
|
(base32 "12z95k0005rmyn9pf9v4hq80khsns7y5wfydnjr5jpci2yiyxnmw"))))
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:cargo-inputs
|
`(#:cargo-inputs
|
||||||
(("rust-const-fn" ,rust-const-fn-0.4)
|
(("rust-const-fn" ,rust-const-fn-0.4)
|
||||||
|
@ -55828,13 +55856,7 @@ introspection APIs.")
|
||||||
#:cargo-development-inputs
|
#:cargo-development-inputs
|
||||||
(("rust-rand" ,rust-rand-0.7)
|
(("rust-rand" ,rust-rand-0.7)
|
||||||
("rust-serde-json" ,rust-serde-json-1)
|
("rust-serde-json" ,rust-serde-json-1)
|
||||||
("rust-standback" ,rust-standback-0.2))))
|
("rust-standback" ,rust-standback-0.2))))))
|
||||||
(home-page "https://github.com/time-rs/time")
|
|
||||||
(synopsis "Date and time library")
|
|
||||||
(description "This package provides a date and time library. It is fully
|
|
||||||
interoperable with the standard library, and is mostly compatible with
|
|
||||||
@code{#![no_std]}.")
|
|
||||||
(license (list license:expat license:asl2.0))))
|
|
||||||
|
|
||||||
(define-public rust-time-0.1
|
(define-public rust-time-0.1
|
||||||
(package
|
(package
|
||||||
|
|
Reference in New Issue