gnu: Add rust-prettyplease-0.2.

* gnu/packages/crates-io.scm (rust-prettyplease-0.2): New variable.
(rust-prettyplease-0.1): Inherit from rust-prettyplease-0.2.

Change-Id: Ib8a9bd2d13761653b4f586289b00165da8165a52
This commit is contained in:
Efraim Flashner 2024-01-04 11:48:30 +02:00
parent 9cec0ef9c5
commit 3a33d84345
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -52500,8 +52500,34 @@ (define-public rust-pretty-env-logger-0.3
("rust-chrono" ,rust-chrono-0.4)
("rust-env-logger" ,rust-env-logger-0.6))))))
(define-public rust-prettyplease-0.2
(package
(name "rust-prettyplease")
(version "0.2.16")
(source
(origin
(method url-fetch)
(uri (crate-uri "prettyplease" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1dfbq98rkq86l9g8w1l81bdvrz4spcfl48929n0pyz79clhzc754"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-syn" ,rust-syn-2))
#:cargo-development-inputs (("rust-indoc" ,rust-indoc-2)
("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-2))))
(home-page "https://github.com/dtolnay/prettyplease")
(synopsis "Minimal `syn` syntax tree pretty-printer")
(description
"This package provides a minimal `syn` syntax tree pretty-printer.")
(license (list license:expat license:asl2.0))))
(define-public rust-prettyplease-0.1
(package
(inherit rust-prettyplease-0.2)
(name "rust-prettyplease")
(version "0.1.23")
(source (origin
@ -52510,18 +52536,12 @@ (define-public rust-prettyplease-0.1
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0y2wbmflbkgp13ywd7qyq7hyi59x5zazmljnw8gg09wnfwak4zp9"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-syn" ,rust-syn-1))
#:cargo-development-inputs
(("rust-syn" ,rust-syn-1))))
(home-page "https://github.com/dtolnay/prettyplease")
(synopsis "Minimal `syn` syntax tree pretty-printer")
(description
"This package provides a minimal `syn` syntax tree pretty-printer.")
(license (list license:expat license:asl2.0))))
(("rust-syn" ,rust-syn-1))))))
(define-public rust-pretty-hex-0.3
(package