summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-01-04 11:52:41 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:19 +0200
commite86ade731b02ed1754c2548c3172b783246dd4e2 (patch)
treea7765ee674e57f9198ab51c701c8862664299af2
parentf5da783fcfb19312f13424aef42a3e80712c0f79 (diff)
downloadguix-e86ade731b02ed1754c2548c3172b783246dd4e2.tar.gz
gnu: Add rust-tiny-skia-path-0.11.
* gnu/packages/crates-io.scm (rust-tiny-skia-path-0.11): New variable.
(rust-tiny-skia-path-0.8): Inherit from rust-tiny-skia-path-0.11.

Change-Id: I79f817a3f296400166d708bee3fdd209e6ab311c
-rw-r--r--gnu/packages/crates-io.scm32
1 files changed, 25 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6fd191316a..c092249f8a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -75726,8 +75726,32 @@ specified in FIPS-202, SP800-185 and KangarooTwelve.")
     (description "This package provides a tiny Skia subset ported to Rust.")
     (license license:bsd-3)))
 
+(define-public rust-tiny-skia-path-0.11
+  (package
+    (name "rust-tiny-skia-path")
+    (version "0.11.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "tiny-skia-path" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0hg5a0i7f505l3ix5a9ywjhjbsgqq856hwgic6pslaq5j255xqsx"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-arrayref" ,rust-arrayref-0.3)
+                       ("rust-bytemuck" ,rust-bytemuck-1)
+                       ("rust-libm" ,rust-libm-0.2)
+                       ("rust-strict-num" ,rust-strict-num-0.1))))
+    (home-page "https://github.com/RazrFalcon/tiny-skia/tree/master/path")
+    (synopsis "Tiny-skia Bezier path implementation")
+    (description
+     "This package provides a tiny-skia Bezier path implementation.")
+    (license license:bsd-3)))
+
 (define-public rust-tiny-skia-path-0.8
   (package
+    (inherit rust-tiny-skia-path-0.11)
     (name "rust-tiny-skia-path")
     (version "0.8.4")
     (source (origin
@@ -75737,18 +75761,12 @@ specified in FIPS-202, SP800-185 and KangarooTwelve.")
               (sha256
                (base32
                 "0z37bzd222q3dlahmaxp2mf1pg5v9qyz3x0j3phs0myxyg9vbgxd"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-arrayref" ,rust-arrayref-0.3)
         ("rust-bytemuck" ,rust-bytemuck-1)
         ("rust-libm" ,rust-libm-0.2)
-        ("rust-strict-num" ,rust-strict-num-0.1))))
-    (home-page "https://github.com/RazrFalcon/tiny-skia/path")
-    (synopsis "Tiny-skia Bezier path implementation")
-    (description
-     "This package provides a tiny-skia Bezier path implementation.")
-    (license license:bsd-3)))
+        ("rust-strict-num" ,rust-strict-num-0.1))))))
 
 (define-public rust-tinyfiledialogs-3
   (package