Subject: [bug#76574] [PATCH 3/9] gnu: Add rust-stretch-0.3.

From: Nicolas Goaziou <[email-masked]>
Date: Wed, 26 Feb 2025 01:00:40 +0100

* gnu/packages/crates-io.scm (rust-stretch-0.3): New variable.

Change-Id: If1e5cae4b74b2cd1fedaee81e3280ae61020f6ea
---
 gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ae91e6310d..8478a33501 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -76491,6 +76491,29 @@ (define-public rust-streaming-stats-0.1
     (arguments
      `(#:cargo-inputs (("rust-num-traits" ,rust-num-traits-0.2))))))
 
+(define-public rust-stretch-0.3
+  (package
+    (name "rust-stretch")
+    (version "0.3.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "stretch" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "11vdmli145j6yakgr7hkzgbnz1kqsb9rq3zrxl1g6dz11k9cc3bv"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t                 ;build phase fails
+       #:cargo-inputs (("rust-lazy-static" ,rust-lazy-static-1)
+                       ("rust-libm" ,rust-libm-0.1))
+       #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.2))))
+    (home-page "https://github.com/vislyhq/stretch")
+    (synopsis "High performance Flexbox implementation")
+    (description
+     "This package provides a high performance Flexbox implementation.")
+    (license license:expat)))
+
 (define-public rust-strength-reduce-0.2
   (package
     (name "rust-strength-reduce")
-- 
2.48.1