diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-02-23 17:15:15 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-05-07 19:29:20 +0300 |
commit | b5e5b5c419747e1e2b72ea78c3cf11c40f6a1e70 (patch) | |
tree | 732200a9b9a65829916cff9209fe3d450b96f2cd | |
parent | 62cfe906d79e3676ec95fe17fd82c2618a7cd43b (diff) | |
download | guix-b5e5b5c419747e1e2b72ea78c3cf11c40f6a1e70.tar.gz |
gnu: Add rust-libwebp-sys-0.4.
* gnu/packages/crates-graphics.scm (rust-libwebp-sys-0.4): New variable.
-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 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") |