summaryrefslogtreecommitdiff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2022-07-26 00:37:01 +0200
committerMarius Bakke <marius@gnu.org>2022-07-27 12:31:25 +0200
commit42eaddb1e1f36f8ca54196e009071a35ce742e03 (patch)
treeb02704990d3567b278fc49d6f21639752ad9e46f /gnu/packages/crates-io.scm
parentda5fdb971038e09632b8bfd7a526d4ef206009bb (diff)
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.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm37
1 files changed, 32 insertions, 5 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e907f6cc6a..a79ccf7d92 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -53910,8 +53910,39 @@ macOS and iOS.")
(("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 @@ macOS and iOS.")
("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