guix-commits
[Top][All Lists]
Advanced

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

241/469: gnu: Add rust-libwebp-sys-0.4.


From: guix-commits
Subject: 241/469: gnu: Add rust-libwebp-sys-0.4.
Date: Tue, 25 Apr 2023 15:03:32 -0400 (EDT)

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

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

    gnu: Add rust-libwebp-sys-0.4.
    
    * gnu/packages/crates-graphics.scm (rust-libwebp-sys-0.4): 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 52fa5a00f4..eab90e3851 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -1500,6 +1500,28 @@ pixel buffers with width, height and stride.")
         ("rust-png" ,rust-png-0.14)
         ("rust-walkdir" ,rust-walkdir-2))))))
 
+(define-public rust-libwebp-sys-0.4
+  (package
+    (name "rust-libwebp-sys")
+    (version "0.4.2")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "libwebp-sys" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32 
"1gvjaqhjpzdskx8x4q1lfgw24jnbjgkx4s6dxpkkg2d2ba4d37s3"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-test-flags
+       '("--release" "--"
+         "--skip=tests::poke")
+       #:cargo-inputs
+       (("rust-cc" ,rust-cc-1))))
+    (home-page "https://github.com/NoXF/libwebp-sys";)
+    (synopsis "Bindings to libwebp (bindgen, static linking)")
+    (description "Bindings to libwebp (bindgen, static linking)")
+    (license license:expat)))
+
 (define-public rust-line-drawing-0.7
   (package
     (name "rust-line-drawing")



reply via email to

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