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 @@ (define-public rust-tiny-keccak-1 `(#: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")