mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-19 09:22:05 -05:00
gnu: Add rust-tiff-0.9.
* gnu/packages/crates-graphics.scm (rust-tiff-0.9): New variable. (rust-tiff-0.8): Inherit from rust-tiff-0.9. Change-Id: I2a2c5171169fb92deb338fc035abe33df336e14a
This commit is contained in:
parent
6bd521bc6b
commit
c402d10358
1 changed files with 25 additions and 0 deletions
|
@ -3197,8 +3197,33 @@ (define-public rust-smithay-clipboard-0.6
|
|||
#:cargo-development-inputs
|
||||
(("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.16))))))
|
||||
|
||||
(define-public rust-tiff-0.9
|
||||
(package
|
||||
(name "rust-tiff")
|
||||
(version "0.9.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "tiff" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "04b2fd3clxm0pmdlfip8xj594zyrsfwmh641i6x1gfiz9l7jn5vd"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ; Not all files included.
|
||||
#:cargo-inputs (("rust-flate2" ,rust-flate2-1)
|
||||
("rust-jpeg-decoder" ,rust-jpeg-decoder-0.3)
|
||||
("rust-weezl" ,rust-weezl-0.1))
|
||||
#:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3))))
|
||||
(home-page "https://github.com/image-rs/image-tiff")
|
||||
(synopsis "TIFF decoding and encoding library in pure Rust")
|
||||
(description
|
||||
"This package provides TIFF decoding and encoding library in pure Rust.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public rust-tiff-0.8
|
||||
(package
|
||||
(inherit rust-tiff-0.9)
|
||||
(name "rust-tiff")
|
||||
(version "0.8.1")
|
||||
(source (origin
|
||||
|
|
Loading…
Reference in a new issue