mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add rust-tiff-0.6.
* gnu/packages/crates-graphics.scm (rust-tiff-0.6): New variable. (rust-tiff-0.5): Inherit from above.
This commit is contained in:
parent
a68d7cf169
commit
e2ab17d66c
1 changed files with 26 additions and 8 deletions
|
@ -2088,8 +2088,33 @@ applications.")
|
||||||
(inputs
|
(inputs
|
||||||
`(("wayland" ,wayland)))))
|
`(("wayland" ,wayland)))))
|
||||||
|
|
||||||
|
(define-public rust-tiff-0.6
|
||||||
|
(package
|
||||||
|
(name "rust-tiff")
|
||||||
|
(version "0.6.1")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "tiff" version))
|
||||||
|
(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)))
|
||||||
|
|
||||||
(define-public rust-tiff-0.5
|
(define-public rust-tiff-0.5
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-tiff-0.6)
|
||||||
(name "rust-tiff")
|
(name "rust-tiff")
|
||||||
(version "0.5.0")
|
(version "0.5.0")
|
||||||
(source
|
(source
|
||||||
|
@ -2101,19 +2126,12 @@ applications.")
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0bzzvxcx21pzryxgd7x7a1himiqs2y4k55754wzlr56sqj3qlfrz"))))
|
"0bzzvxcx21pzryxgd7x7a1himiqs2y4k55754wzlr56sqj3qlfrz"))))
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; not all test files included
|
`(#:tests? #f ; not all test files included
|
||||||
#:cargo-inputs
|
#:cargo-inputs
|
||||||
(("rust-byteorder" ,rust-byteorder-1)
|
(("rust-byteorder" ,rust-byteorder-1)
|
||||||
("rust-lzw" ,rust-lzw-0.10)
|
("rust-lzw" ,rust-lzw-0.10)
|
||||||
("rust-miniz-oxide" ,rust-miniz-oxide-0.3))))
|
("rust-miniz-oxide" ,rust-miniz-oxide-0.3))))))
|
||||||
(home-page "https://github.com/image-rs/image-tiff")
|
|
||||||
(synopsis
|
|
||||||
"TIFF decoding and encoding library in pure Rust")
|
|
||||||
(description
|
|
||||||
"TIFF decoding and encoding library in pure Rust.")
|
|
||||||
(license license:expat)))
|
|
||||||
|
|
||||||
(define-public rust-tiff-0.3
|
(define-public rust-tiff-0.3
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue