mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 13:58:15 -05:00
gnu: Add rust-tiff-0.8.
* gnu/packages/crates-graphics.scm (rust-tiff-0.8): New variable. (rust-tiff-0.6): Inherit from rust-tiff-0.8.
This commit is contained in:
parent
2188e64c38
commit
ca6aed0889
1 changed files with 27 additions and 7 deletions
|
@ -2256,8 +2256,34 @@ (define-public rust-smithay-clipboard-0.6
|
|||
applications.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public rust-tiff-0.8
|
||||
(package
|
||||
(name "rust-tiff")
|
||||
(version "0.8.1")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "tiff" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "0wg4a6w8sakyy0mggblg340mx8bgglx9hwsxsn8g5fpjkx7k6jbl"))))
|
||||
(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.6
|
||||
(package
|
||||
(inherit rust-tiff-0.8)
|
||||
(name "rust-tiff")
|
||||
(version "0.6.1")
|
||||
(source
|
||||
|
@ -2267,18 +2293,12 @@ (define-public rust-tiff-0.6
|
|||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "0ds48vs919ccxa3fv1www7788pzkvpg434ilqkq7sjb5dmqg8lws"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs
|
||||
(("rust-jpeg-decoder" ,rust-jpeg-decoder-0.1)
|
||||
("rust-miniz-oxide" ,rust-miniz-oxide-0.4)
|
||||
("rust-weezl" ,rust-weezl-0.1))))
|
||||
(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)))
|
||||
("rust-weezl" ,rust-weezl-0.1))))))
|
||||
|
||||
(define-public rust-tiff-0.5
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue