gnu: rust-ouroboros: Add 0.15.2.

* gnu/packages/crates-io.scm (rust-ouroboros-macro-0.15): New variable.
(rust-ouroboros-macro-0.14): Inherit from it.
(rust-ouroboros-0.15): New variable.
(rust-ouroboros-0.14): Inherit from it.
This commit is contained in:
Marius Bakke 2022-08-17 21:19:13 +02:00
parent 8c06526634
commit 58faf8069c
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -40340,17 +40340,17 @@ (define-public rust-os-str-bytes-2
"11agh8n3x2l4sr3sxvx6byc1j3ryb1g6flb1ywn0qhq7xv1y3cmg")))) "11agh8n3x2l4sr3sxvx6byc1j3ryb1g6flb1ywn0qhq7xv1y3cmg"))))
(arguments `(#:skip-build? #t)))) (arguments `(#:skip-build? #t))))
(define-public rust-ouroboros-macro-0.14 (define-public rust-ouroboros-macro-0.15
(package (package
(name "rust-ouroboros-macro") (name "rust-ouroboros-macro")
(version "0.14.0") (version "0.15.2")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (crate-uri "ouroboros_macro" version)) (uri (crate-uri "ouroboros_macro" version))
(file-name (string-append name "-" version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 "11cav04x82liknlrv50lpl1i1ln2jw4isdqzdjnjsg0pcpvwik9r")))) (base32 "01lgyj5nxgr6r1l0m20pp4ilz3m14clsqg2j28hic2rrlsjafjkk"))))
(build-system cargo-build-system) (build-system cargo-build-system)
(arguments (arguments
`(#:skip-build? #t `(#:skip-build? #t
@ -40366,8 +40366,45 @@ (define-public rust-ouroboros-macro-0.14
"This package provides a proc macro for the @code{ouroboros} crate.") "This package provides a proc macro for the @code{ouroboros} crate.")
(license (list license:expat license:asl2.0)))) (license (list license:expat license:asl2.0))))
(define-public rust-ouroboros-macro-0.14
(package
(inherit rust-ouroboros-macro-0.15)
(name "rust-ouroboros-macro")
(version "0.14.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "ouroboros_macro" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "11cav04x82liknlrv50lpl1i1ln2jw4isdqzdjnjsg0pcpvwik9r"))))))
(define-public rust-ouroboros-0.15
(package
(name "rust-ouroboros")
(version "0.15.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "ouroboros" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1qhd9cvc4hwdbr37da1jh0k0742slchixlxn4wxgc7g3l63yl9bl"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-aliasable" ,rust-aliasable-0.1)
("rust-ouroboros-macro" ,rust-ouroboros-macro-0.15)
("rust-stable-deref-trait" ,rust-stable-deref-trait-1))))
(home-page "https://github.com/joshua-maros/ouroboros")
(synopsis "Self-referential struct generation")
(description
"Easy, safe self-referential struct generation for Rust.")
(license (list license:expat license:asl2.0))))
(define-public rust-ouroboros-0.14 (define-public rust-ouroboros-0.14
(package (package
(inherit rust-ouroboros-0.15)
(name "rust-ouroboros") (name "rust-ouroboros")
(version "0.14.0") (version "0.14.0")
(source (source
@ -40377,17 +40414,11 @@ (define-public rust-ouroboros-0.14
(file-name (string-append name "-" version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 "1ih1lna1d2is3a6aicmc7lpfhqmg046kssxpryk24kwg8j42ymh6")))) (base32 "1ih1lna1d2is3a6aicmc7lpfhqmg046kssxpryk24kwg8j42ymh6"))))
(build-system cargo-build-system)
(arguments (arguments
`(#:cargo-inputs `(#:cargo-inputs
(("rust-aliasable" ,rust-aliasable-0.1) (("rust-aliasable" ,rust-aliasable-0.1)
("rust-ouroboros-macro" ,rust-ouroboros-macro-0.14) ("rust-ouroboros-macro" ,rust-ouroboros-macro-0.14)
("rust-stable-deref-trait" ,rust-stable-deref-trait-1)))) ("rust-stable-deref-trait" ,rust-stable-deref-trait-1))))))
(home-page "https://github.com/joshua-maros/ouroboros")
(synopsis "Self-referential struct generation")
(description
"Easy, safe self-referential struct generation for Rust.")
(license (list license:expat license:asl2.0))))
(define-public rust-output-vt100-0.1 (define-public rust-output-vt100-0.1
(package (package