gnu: rust-selectors: Add 0.23.0.

* gnu/packages/crates-io.scm (rust-selectors-0.23): New variable.
(rust-selectors-0.22): Inherit from it.
This commit is contained in:
Marius Bakke 2022-07-26 00:37:01 +02:00
parent da5fdb9710
commit 42eaddb1e1
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -53910,8 +53910,39 @@ (define-public rust-security-framework-sys-0.1
(("rust-core-foundation-sys" ,rust-core-foundation-sys-0.2)
("rust-libc" ,rust-libc-0.2))))))
(define-public rust-selectors-0.23
(package
(name "rust-selectors")
(version "0.23.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "selectors" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"17w7slv2bkksvbq6pggx3db23vh1g022hxv06smilwmyhv38gspx"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-bitflags" ,rust-bitflags-1)
("rust-cssparser" ,rust-cssparser-0.28)
("rust-derive-more" ,rust-derive-more-0.99)
("rust-fxhash" ,rust-fxhash-0.2)
("rust-log" ,rust-log-0.4)
("rust-phf" ,rust-phf-0.8)
("rust-phf-codegen" ,rust-phf-codegen-0.8)
("rust-precomputed-hash" ,rust-precomputed-hash-0.1)
("rust-servo-arc" ,rust-servo-arc-0.1)
("rust-smallvec" ,rust-smallvec-1))))
(home-page "https://github.com/servo/servo")
(synopsis "CSS Selectors matching for Rust")
(description "This package provides CSS Selectors matching for Rust.")
(license license:mpl2.0)))
(define-public rust-selectors-0.22
(package
(inherit rust-selectors-0.23)
(name "rust-selectors")
(version "0.22.0")
(source
@ -53938,11 +53969,7 @@ (define-public rust-selectors-0.22
("rust-smallvec" ,rust-smallvec-1)
("rust-thin-slice" ,rust-thin-slice-0.1))
#:cargo-development-inputs
(("rust-phf-codegen" ,rust-phf-codegen-0.8))))
(home-page "https://github.com/servo/servo")
(synopsis "CSS Selectors matching for Rust")
(description "This package provides CSS Selectors matching for Rust.")
(license license:mpl2.0)))
(("rust-phf-codegen" ,rust-phf-codegen-0.8))))))
(define-public rust-selectors-0.21
(package