guix-commits
[Top][All Lists]
Advanced

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

447/471: gnu: Add rust-tiny-skia-0.8.


From: guix-commits
Subject: 447/471: gnu: Add rust-tiny-skia-0.8.
Date: Wed, 3 May 2023 09:29:20 -0400 (EDT)

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

commit eaf8b16e87a70debf851233a3c3a75648fc498f8
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Apr 24 16:56:40 2023 +0300

    gnu: Add rust-tiny-skia-0.8.
    
    * gnu/packages/crates-io.scm (rust-tiny-skia-0.8): New variable.
---
 gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4bf39d7827..40c6ad8c29 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -64250,6 +64250,31 @@ specified in FIPS-202, SP800-185 and KangarooTwelve.")
      `(#:cargo-inputs
        (("rust-crunchy" ,rust-crunchy-0.2))))))
 
+(define-public rust-tiny-skia-0.8
+  (package
+    (name "rust-tiny-skia")
+    (version "0.8.4")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "tiny-skia" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0rvapxnksdjy1rnzjlvi6dqijz843y9m2dv107ln24230fi9716z"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-arrayref" ,rust-arrayref-0.3)
+        ("rust-arrayvec" ,rust-arrayvec-0.7)
+        ("rust-bytemuck" ,rust-bytemuck-1)
+        ("rust-cfg-if" ,rust-cfg-if-1)
+        ("rust-png" ,rust-png-0.17)
+        ("rust-tiny-skia-path" ,rust-tiny-skia-path-0.8))))
+    (home-page "https://github.com/RazrFalcon/tiny-skia";)
+    (synopsis "Skia subset ported to Rust")
+    (description "This package provides a tiny Skia subset ported to Rust.")
+    (license license:bsd-3)))
+
 (define-public rust-tiny-skia-path-0.8
   (package
     (name "rust-tiny-skia-path")



reply via email to

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