mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add rust-image-webp-0.2.
* gnu/packages/crates-graphics.scm (rust-image-webp-0.2): New variable. Change-Id: I115b2939e02ba830995892b6167298ea91e8088a
This commit is contained in:
parent
1273393320
commit
b204107936
1 changed files with 27 additions and 0 deletions
|
@ -48,6 +48,7 @@
|
|||
#:use-module (gnu packages fontutils)
|
||||
#:use-module (gnu packages freedesktop)
|
||||
#:use-module (gnu packages gl)
|
||||
#:use-module (gnu packages image)
|
||||
#:use-module (gnu packages llvm)
|
||||
#:use-module (gnu packages pkg-config)
|
||||
#:use-module (gnu packages python)
|
||||
|
@ -2473,6 +2474,32 @@ filters and decoders for the most common image formats.")
|
|||
("rust-num-complex" ,rust-num-complex-0.2)
|
||||
("rust-quickcheck" ,rust-quickcheck-0.6))))))
|
||||
|
||||
(define-public rust-image-webp-0.2
|
||||
(package
|
||||
(name "rust-image-webp")
|
||||
(version "0.2.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "image-webp" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "0bz2zf9rfkfwf50bv60p6vnwnggg75s3bsnnnp6aj4a7v7iyhcg0"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs (("rust-byteorder-lite" ,rust-byteorder-lite-0.1)
|
||||
("rust-quick-error" ,rust-quick-error-2))
|
||||
#:cargo-development-inputs (("rust-paste" ,rust-paste-1)
|
||||
("rust-png" ,rust-png-0.17)
|
||||
("rust-rand" ,rust-rand-0.8)
|
||||
("rust-webp" ,rust-webp-0.3))))
|
||||
(inputs (list libwebp))
|
||||
(home-page "https://github.com/image-rs/image-webp")
|
||||
(synopsis "WebP encoding and decoding in pure Rust")
|
||||
(description
|
||||
"This package provides @code{WebP} encoding and decoding in pure Rust.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-imageproc-0.23
|
||||
(package
|
||||
(name "rust-imageproc")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue