mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add rust-lazy-static-1.4.
* gnu/packages/crates-io.scm (rust-lazy-static-1.4): New variable. (rust-lazy-static-1.3): Inherit from rust-lazy-static-1.4. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
166aca480e
commit
a842e36259
1 changed files with 23 additions and 4 deletions
|
@ -5009,10 +5009,10 @@ currently supports parsing (fully conformant parser), formatting and comparing
|
||||||
language tags.")
|
language tags.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public rust-lazy-static-1.3
|
(define-public rust-lazy-static-1.4
|
||||||
(package
|
(package
|
||||||
(name "rust-lazy-static")
|
(name "rust-lazy-static")
|
||||||
(version "1.3.0")
|
(version "1.4.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
|
@ -5020,11 +5020,13 @@ language tags.")
|
||||||
(file-name (string-append name "-" version ".crate"))
|
(file-name (string-append name "-" version ".crate"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"052ac27w189hrf1j3hz7sga46rp84zl2hqnzyihxv78mgzr2jmxw"))))
|
"0in6ikhw8mgl33wjv6q6xfrb5b9jr16q8ygjy803fay4zcisvaz2"))))
|
||||||
(build-system cargo-build-system)
|
(build-system cargo-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:skip-build? #t
|
`(#:skip-build? #t
|
||||||
#:cargo-inputs (("rust-spin" ,rust-spin-0.5))))
|
#:cargo-inputs (("rust-spin" ,rust-spin-0.5))
|
||||||
|
#:cargo-development-inputs
|
||||||
|
(("rust-doc-comment" ,rust-doc-comment-0.3))))
|
||||||
(home-page "https://github.com/rust-lang-nursery/lazy-static.rs")
|
(home-page "https://github.com/rust-lang-nursery/lazy-static.rs")
|
||||||
(synopsis "Macro for declaring lazily evaluated statics in Rust")
|
(synopsis "Macro for declaring lazily evaluated statics in Rust")
|
||||||
(description
|
(description
|
||||||
|
@ -5036,6 +5038,23 @@ requires non-const function calls to be computed.")
|
||||||
(license (list license:asl2.0
|
(license (list license:asl2.0
|
||||||
license:expat))))
|
license:expat))))
|
||||||
|
|
||||||
|
(define-public rust-lazy-static-1.3
|
||||||
|
(package
|
||||||
|
(inherit rust-lazy-static-1.4)
|
||||||
|
(name "rust-lazy-static")
|
||||||
|
(version "1.3.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "lazy_static" version))
|
||||||
|
(file-name (string-append name "-" version ".crate"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"052ac27w189hrf1j3hz7sga46rp84zl2hqnzyihxv78mgzr2jmxw"))))
|
||||||
|
(arguments
|
||||||
|
`(#:skip-build? #t
|
||||||
|
#:cargo-inputs (("rust-spin" ,rust-spin-0.5))))))
|
||||||
|
|
||||||
(define-public rust-lazycell-1.2
|
(define-public rust-lazycell-1.2
|
||||||
(package
|
(package
|
||||||
(name "rust-lazycell")
|
(name "rust-lazycell")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue