me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-darling-macro-0.14.

* gnu/packages/crates-io.scm (rust-darling-macro-0.14): New variable.
(rust-darling-macro-0.13): Inherit from rust-darling-macro-0.14.
Efraim Flashner 2022-10-24 16:02:12 +03:00
parent 9c406432e5
commit d57ce8d4ef
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 23 additions and 4 deletions

View File

@ -15403,22 +15403,22 @@ reading attributes into structs when implementing custom derives.")
("rust-strsim" ,rust-strsim-0.7) ("rust-strsim" ,rust-strsim-0.7)
("rust-syn" ,rust-syn-0.15)))))) ("rust-syn" ,rust-syn-0.15))))))
(define-public rust-darling-macro-0.13 (define-public rust-darling-macro-0.14
(package (package
(name "rust-darling-macro") (name "rust-darling-macro")
(version "0.13.1") (version "0.14.1")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (crate-uri "darling_macro" version)) (uri (crate-uri "darling_macro" version))
(file-name (string-append name "-" version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 "0jzljnd0y7idi5lb7lhvymh3nkhaf32ksx0d38hv7zjjfcxipi3j")))) (base32 "1dag2f4bq38vdn886slqczip5qzhvb95317kl04zrlnbpz2nkz6x"))))
(build-system cargo-build-system) (build-system cargo-build-system)
(arguments (arguments
`(#:skip-build? #t `(#:skip-build? #t
#:cargo-inputs #:cargo-inputs
(("rust-darling-core" ,rust-darling-core-0.13) (("rust-darling-core" ,rust-darling-core-0.14)
("rust-quote" ,rust-quote-1) ("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-1)))) ("rust-syn" ,rust-syn-1))))
(home-page "https://github.com/TedDriggs/darling") (home-page "https://github.com/TedDriggs/darling")
@ -15429,6 +15429,25 @@ a proc-macro library for reading attributes into structs when implementing
custom derives.") custom derives.")
(license license:expat))) (license license:expat)))
(define-public rust-darling-macro-0.13
(package
(inherit rust-darling-macro-0.14)
(name "rust-darling-macro")
(version "0.13.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "darling_macro" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0jzljnd0y7idi5lb7lhvymh3nkhaf32ksx0d38hv7zjjfcxipi3j"))))
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-darling-core" ,rust-darling-core-0.13)
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-1))))))
(define-public rust-darling-macro-0.12 (define-public rust-darling-macro-0.12
(package (package
(inherit rust-darling-macro-0.13) (inherit rust-darling-macro-0.13)