gnu: Add rust-proc-macro2-diagnostics-0.9.

* gnu/packages/crates-io.scm (rust-proc-macro2-diagnostics-0.9): New
variable.

Signed-off-by: Aaron Covrig <aaron.covrig.us@ieee.org>
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: I7b1f0e98a00bb61b371b53b5e1285e2cf7bbbb35
This commit is contained in:
Aaron Covrig 2024-04-05 20:44:31 -04:00 committed by Efraim Flashner
parent 35cd2c7d99
commit b5224edf82
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -42,6 +42,7 @@
;;; Copyright © 2024 Herman Rimm <herman@rimm.ee>
;;; Copyright © 2024 Tomas Volf <~@wolfsden.cz>
;;; Copyright © 2024 Suhail Singh <suhail@bayesians.ca>
;;; Copyright © 2024 Aaron Covrig <aaron.covrig.us@ieee.org>
;;;
;;; This file is part of GNU Guix.
;;;
@ -56016,9 +56017,30 @@ (define-public rust-proc-macro2-diagnostics-0.10
#:cargo-development-inputs (("rust-trybuild" ,rust-trybuild-1))))
(home-page "https://github.com/SergioBenitez/proc-macro2-diagnostics")
(synopsis "Diagnostics for proc-macro2")
(description "Diagnostics for proc-macro2.")
(description "Diagnostics for stable and nightly proc-macros!")
(license (list license:expat license:asl2.0))))
(define-public rust-proc-macro2-diagnostics-0.9
(package
(inherit rust-proc-macro2-diagnostics-0.10)
(name "rust-proc-macro2-diagnostics")
(version "0.9.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "proc-macro2-diagnostics" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1nmazlb1dkznjds7qwms7yxhi33ajc3isji2lsgx8r3lsqk9gwjb"))))
(arguments
`(#:cargo-test-flags '("--release" "--" "--skip=main")
#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-1)
("rust-version-check" ,rust-version-check-0.9)
("rust-yansi" ,rust-yansi-0.5))
#:cargo-development-inputs (("rust-trybuild" ,rust-trybuild-1))))))
(define-public rust-proc-mounts-0.3
(package
(name "rust-proc-mounts")