summaryrefslogtreecommitdiff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2022-08-17 21:19:13 +0200
committerMarius Bakke <marius@gnu.org>2022-08-27 00:09:02 +0200
commit58faf8069c9dc77da626a26b9f9ccd3bfc37b977 (patch)
tree06fa2051113f4081378e2e933f77e3f24c945d3f /gnu/packages/crates-io.scm
parent8c06526634b365fd1e9a78b3039a76c639c7abc7 (diff)
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.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm45
1 files changed, 38 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ed2fe3c487..0b801a59fe 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -40340,17 +40340,17 @@ platform-native strings.")
"11agh8n3x2l4sr3sxvx6byc1j3ryb1g6flb1ywn0qhq7xv1y3cmg"))))
(arguments `(#:skip-build? #t))))
-(define-public rust-ouroboros-macro-0.14
+(define-public rust-ouroboros-macro-0.15
(package
(name "rust-ouroboros-macro")
- (version "0.14.0")
+ (version "0.15.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "ouroboros_macro" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "11cav04x82liknlrv50lpl1i1ln2jw4isdqzdjnjsg0pcpvwik9r"))))
+ (base32 "01lgyj5nxgr6r1l0m20pp4ilz3m14clsqg2j28hic2rrlsjafjkk"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
@@ -40366,22 +40366,35 @@ platform-native strings.")
"This package provides a proc macro for the @code{ouroboros} crate.")
(license (list license:expat license:asl2.0))))
-(define-public rust-ouroboros-0.14
+(define-public rust-ouroboros-macro-0.14
(package
- (name "rust-ouroboros")
+ (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 "1ih1lna1d2is3a6aicmc7lpfhqmg046kssxpryk24kwg8j42ymh6"))))
+ (base32 "1qhd9cvc4hwdbr37da1jh0k0742slchixlxn4wxgc7g3l63yl9bl"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-aliasable" ,rust-aliasable-0.1)
- ("rust-ouroboros-macro" ,rust-ouroboros-macro-0.14)
+ ("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")
@@ -40389,6 +40402,24 @@ platform-native strings.")
"Easy, safe self-referential struct generation for Rust.")
(license (list license:expat license:asl2.0))))
+(define-public rust-ouroboros-0.14
+ (package
+ (inherit rust-ouroboros-0.15)
+ (name "rust-ouroboros")
+ (version "0.14.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ouroboros" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1ih1lna1d2is3a6aicmc7lpfhqmg046kssxpryk24kwg8j42ymh6"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-aliasable" ,rust-aliasable-0.1)
+ ("rust-ouroboros-macro" ,rust-ouroboros-macro-0.14)
+ ("rust-stable-deref-trait" ,rust-stable-deref-trait-1))))))
+
(define-public rust-output-vt100-0.1
(package
(name "rust-output-vt100")