aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-03-18 15:13:19 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-07-19 00:43:24 +0300
commita4729fd3a9e1280f52ceba8813faaa23b315fdb5 (patch)
treefa7939e25fee9f482bec7d4cd93bc1963ca54f98
parent4458ecbab4776c081316260e250d55b9eae20c38 (diff)
downloadguix-a4729fd3a9e1280f52ceba8813faaa23b315fdb5.tar
guix-a4729fd3a9e1280f52ceba8813faaa23b315fdb5.tar.gz
gnu: Add rust-cssparser-0.33.
* gnu/packages/crates-io.scm (rust-cssparser-0.33): New variable. (rust-cssparser-0.29): Inherit from rust-cssparser-0.33. Change-Id: Icf07789b4d78021f280f72ef0a66a889ebd9b799
-rw-r--r--gnu/packages/crates-io.scm38
1 files changed, 31 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 646a2b5ef4..aa653a6fb7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -17154,8 +17154,38 @@ feature flags.")
number ``crunching``.")
(license license:expat)))
+(define-public rust-cssparser-0.33
+ (package
+ (name "rust-cssparser")
+ (version "0.33.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cssparser" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "07i8k47fmym7kzs95qfhg6zrh4yyf2vl4460rmdyvyx06vck9scv"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; Not all files included in the tarball.
+ #:cargo-inputs (("rust-cssparser-macros" ,rust-cssparser-macros-0.6)
+ ("rust-dtoa-short" ,rust-dtoa-short-0.3)
+ ("rust-itoa" ,rust-itoa-1)
+ ("rust-phf" ,rust-phf-0.8)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-smallvec" ,rust-smallvec-1))
+ #:cargo-development-inputs (("rust-difference" ,rust-difference-2)
+ ("rust-encoding-rs" ,rust-encoding-rs-0.8)
+ ("rust-serde-json" ,rust-serde-json-1))))
+ (home-page "https://github.com/servo/rust-cssparser")
+ (synopsis "Rust implementation of CSS Syntax Level 3")
+ (description
+ "This package contains a Rust implementation of CSS Syntax Level 3.")
+ (license license:mpl2.0)))
+
(define-public rust-cssparser-0.29
(package
+ (inherit rust-cssparser-0.33)
(name "rust-cssparser")
(version "0.29.6")
(source
@@ -17165,7 +17195,6 @@ number ``crunching``.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1yp0zl5cmw9x95np9a51153fdb1ng8fgzwyssg7hr5dmki0h6ggr"))))
- (build-system cargo-build-system)
(arguments
`(#:tests? #f ; Not all files included in the tarball.
#:cargo-inputs
@@ -17182,12 +17211,7 @@ number ``crunching``.")
#:cargo-development-inputs
(("rust-difference" ,rust-difference-2)
("rust-encoding-rs" ,rust-encoding-rs-0.8)
- ("rust-serde-json" ,rust-serde-json-1))))
- (home-page "https://github.com/servo/rust-cssparser")
- (synopsis "Rust implementation of CSS Syntax Level 3")
- (description
- "This package contains a Rust implementation of CSS Syntax Level 3.")
- (license license:mpl2.0)))
+ ("rust-serde-json" ,rust-serde-json-1))))))
(define-public rust-cssparser-0.28
(package