diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-04-24 16:56:40 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-05-07 19:29:40 +0300 |
commit | cad62dc45ad74bad775661729cd497dfceeb3be6 (patch) | |
tree | f2b2e2644cc62393eb507f3ae4252718cdba1ab7 /gnu/packages/crates-io.scm | |
parent | 65bff2c825eb0de1036fe4b2b8ef4d42d0832bb8 (diff) |
gnu: Add rust-tiny-skia-0.8.
* gnu/packages/crates-io.scm (rust-tiny-skia-0.8): New variable.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 25 |
1 files changed, 25 insertions, 0 deletions
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") |