guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

53/276: gnu: Add rust-selectors-0.24.


From: guix-commits
Subject: 53/276: gnu: Add rust-selectors-0.24.
Date: Wed, 18 Oct 2023 04:49:13 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit e98817b2a924f36932747ac41826d92038f21cf4
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Oct 1 16:38:38 2023 +0300

    gnu: Add rust-selectors-0.24.
    
    * gnu/packages/crates-io.scm (rust-selectors-0.24): New variable.
    (rust-selectors-0.23): Inherit from rust-selectors-0.24.
---
 gnu/packages/crates-io.scm | 39 +++++++++++++++++++++++++++++++++------
 1 file changed, 33 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index eaf5b72891..40d7b2a109 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -59976,8 +59976,40 @@ macOS and iOS.")
        (("rust-core-foundation-sys" ,rust-core-foundation-sys-0.2)
         ("rust-libc" ,rust-libc-0.2))))))
 
+(define-public rust-selectors-0.24
+  (package
+    (name "rust-selectors")
+    (version "0.24.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "selectors" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "05il06smqbhf7p18fawm5fd0pmdkysvmyih455lh17cnh20mfdqc"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-bitflags" ,rust-bitflags-1)
+        ("rust-cssparser" ,rust-cssparser-0.29)
+        ("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.2)
+        ("rust-smallvec" ,rust-smallvec-1)
+        ("rust-to-shmem" ,rust-to-shmem-0.0.0)
+        ("rust-to-shmem-derive" ,rust-to-shmem-derive-0.0.0))))
+    (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.23
   (package
+    (inherit rust-selectors-0.24)
     (name "rust-selectors")
     (version "0.23.0")
     (source
@@ -59988,7 +60020,6 @@ macOS and iOS.")
         (sha256
          (base32
           "17w7slv2bkksvbq6pggx3db23vh1g022hxv06smilwmyhv38gspx"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-bitflags" ,rust-bitflags-1)
@@ -60000,11 +60031,7 @@ macOS and iOS.")
         ("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)))
+        ("rust-smallvec" ,rust-smallvec-1))))))
 
 (define-public rust-selectors-0.22
   (package



reply via email to

[Prev in Thread] Current Thread [Next in Thread]