gnu: Add rust-tiny-skia-0.8.

* gnu/packages/crates-io.scm (rust-tiny-skia-0.8): New variable.
This commit is contained in:
Efraim Flashner 2023-04-24 16:56:40 +03:00
parent 65bff2c825
commit cad62dc45a
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -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")