gnu: Add rust-rustfix-0.6.

* gnu/packages/crates-io.scm (rust-rustfix-0.6): New variable.
(rust-rustfix-0.5): Inherit from rust-rustfix-0.6.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Co-authored-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
This commit is contained in:
Paul Alesius 2023-02-08 14:27:48 -05:00 committed by Maxim Cournoyer
parent c1ef157ff5
commit 5347378f8a
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -49272,8 +49272,28 @@ (define-public rust-rustdoc-stripper-0.1
"This package provides a tool to manipulate rustdoc comments.") "This package provides a tool to manipulate rustdoc comments.")
(license license:asl2.0))) (license license:asl2.0)))
(define-public rust-rustfix-0.6
(package
(name "rust-rustfix")
(version "0.6.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "rustfix" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"0apkjxv3z70vhnyz2kpwsivvndk6qk7kkp0rf7sg8pk7q1gy02vg"))))
(build-system cargo-build-system)
(home-page "https://github.com/rust-lang/rustfix")
(synopsis "Automatically apply the suggestions made by rustc")
(description "Automatically apply the suggestions made by rustc.")
(license (list license:expat license:asl2.0))))
(define-public rust-rustfix-0.5 (define-public rust-rustfix-0.5
(package (package
(inherit rust-rustfix-0.6)
(name "rust-rustfix") (name "rust-rustfix")
(version "0.5.1") (version "0.5.1")
(source (source
@ -49299,12 +49319,7 @@ (define-public rust-rustfix-0.5
("rust-env-logger" ,rust-env-logger-0.6) ("rust-env-logger" ,rust-env-logger-0.6)
("rust-log" ,rust-log-0.4) ("rust-log" ,rust-log-0.4)
("rust-proptest" ,rust-proptest-0.9) ("rust-proptest" ,rust-proptest-0.9)
("rust-tempdir" ,rust-tempdir-0.3)))) ("rust-tempdir" ,rust-tempdir-0.3))))))
(home-page "https://github.com/rust-lang/rustfix")
(synopsis "Automatically apply the suggestions made by rustc")
(description
"Automatically apply the suggestions made by rustc.")
(license (list license:expat license:asl2.0))))
(define-public rust-rustfix-0.4 (define-public rust-rustfix-0.4
(package/inherit rust-rustfix-0.5 (package/inherit rust-rustfix-0.5