guix-commits
[Top][All Lists]
Advanced

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

390/470: gnu: Add rust-webp-0.2.


From: guix-commits
Subject: 390/470: gnu: Add rust-webp-0.2.
Date: Thu, 16 Mar 2023 03:02:22 -0400 (EDT)

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

commit aa1ca3d45f3cbfd238fa70ae5f9718ca61821472
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Feb 23 17:15:14 2023 +0200

    gnu: Add rust-webp-0.2.
    
    * gnu/packages/crates-graphics.scm (rust-webp-0.2): New variable.
---
 gnu/packages/crates-graphics.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

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



reply via email to

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