gnu: Add rust-as-derive-utils-0.11.

* gnu/packages/crates-io.scm (rust-as-derive-utils-0.11): New variable.
(rust-as-derive-utils-0.10): Inherit from rust-as-derive-utils-0.11.

Change-Id: If20e88b577ae270da8344bf298e2d1a5b5053775
This commit is contained in:
Efraim Flashner 2024-03-16 21:26:21 +02:00
parent 7b38637548
commit c6d17d8246
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -3258,8 +3258,39 @@ (define-public rust-article-scraper-1
;; No copyright headers in the source code. LICENSE indicates gpl3.
(license license:gpl3)))
(define-public rust-as-derive-utils-0.11
(package
(name "rust-as-derive-utils")
(version "0.11.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "as_derive_utils" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1i2kwzxdhydicj9bqscz5w73nmx612yi3ha137qlr900b5j9cg7z"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ; Only doc tests, which fail.
#:cargo-inputs (("rust-aho-corasick" ,rust-aho-corasick-0.7)
("rust-bitflags" ,rust-bitflags-1)
("rust-core-extensions" ,rust-core-extensions-1)
("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
("rust-regex" ,rust-regex-1)
("rust-ron" ,rust-ron-0.7)
("rust-serde" ,rust-serde-1)
("rust-serde-derive" ,rust-serde-derive-1)
("rust-syn" ,rust-syn-1))))
(home-page "https://github.com/rodrimati1992/abi_stable_crates/")
(synopsis "Private derive utilities used by abi_stable and structural")
(description "This package contains private derive utilities used by
the abi_stable and structural crates.")
(license (list license:expat license:asl2.0))))
(define-public rust-as-derive-utils-0.10
(package
(inherit rust-as-derive-utils-0.11)
(name "rust-as-derive-utils")
(version "0.10.3")
(source
@ -3276,7 +3307,6 @@ (define-public rust-as-derive-utils-0.10
" <([[:digit:]]+\\.[[:digit:]]+\\.[[:digit:]]+)")
_ version _)
(string-append ">=" version)))))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ; Only doc tests, which fail.
#:cargo-inputs
@ -3289,12 +3319,7 @@ (define-public rust-as-derive-utils-0.10
("rust-ron" ,rust-ron-0.6)
("rust-serde" ,rust-serde-1)
("rust-serde-derive" ,rust-serde-derive-1)
("rust-syn" ,rust-syn-1))))
(home-page "https://github.com/rodrimati1992/abi_stable_crates/")
(synopsis "Private derive utilities used by abi_stable and structural")
(description "This package contains private derive utilities used by
the abi_stable and structural crates.")
(license (list license:expat license:asl2.0))))
("rust-syn" ,rust-syn-1))))))
(define-public rust-as-derive-utils-0.8
(package