diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-02-23 17:15:14 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-05-07 19:29:20 +0300 |
commit | eb8f7f6c0c5297e83346e9a28eb1089804433440 (patch) | |
tree | 06cc0de5c68bd7ca21d066140d57f5e49f13410e /gnu/packages/crates-graphics.scm | |
parent | c17a39253578c2bc351b976a16c85a3807668ba6 (diff) | |
download | guix-eb8f7f6c0c5297e83346e9a28eb1089804433440.tar.gz |
gnu: Add rust-webp-0.2.
* gnu/packages/crates-graphics.scm (rust-webp-0.2): New variable.
Diffstat (limited to 'gnu/packages/crates-graphics.scm')
-rw-r--r-- | gnu/packages/crates-graphics.scm | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm index 3f0c1bb8e8..7fd0187e82 100644 --- a/gnu/packages/crates-graphics.scm +++ b/gnu/packages/crates-graphics.scm @@ -3088,6 +3088,28 @@ crate @code{rust-wayland-client} for usable bindings.") (base32 "0a0ndgkg98pvmkv44yya4f7mxzjaxylknqh64bpa05w0azyv02jj")))))) +(define-public rust-webp-0.2 + (package + (name "rust-webp") + (version "0.2.2") + (source (origin + (method url-fetch) + (uri (crate-uri "webp" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1bhw6xp7vg4rx7flxgzvdzk21q2dx1bsn06h0yj7jq0n3y12y0ng")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-image" ,rust-image-0.24) + ("rust-libwebp-sys" ,rust-libwebp-sys-0.4)) + #:cargo-development-inputs + (("rust-image" ,rust-image-0.24)))) + (home-page "https://github.com/jaredforth/webp") + (synopsis "WebP conversion library") + (description "This package procides a WebP conversion library.") + (license (list license:expat license:asl2.0)))) + (define-public rust-winit-0.26 (package (name "rust-winit") |