guix-commits
[Top][All Lists]
Advanced

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

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


From: guix-commits
Subject: 53/194: gnu: Add rust-selectors-0.24.
Date: Tue, 3 Oct 2023 14:57:23 -0400 (EDT)

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

commit 4583746c54cd35d32813abd7865c7b743907ec76
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 9413ee83c2..231a102c88 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -59914,8 +59914,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
@@ -59926,7 +59958,6 @@ macOS and iOS.")
         (sha256
          (base32
           "17w7slv2bkksvbq6pggx3db23vh1g022hxv06smilwmyhv38gspx"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-bitflags" ,rust-bitflags-1)
@@ -59938,11 +59969,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]