[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
195/475: gnu: Add rust-tiff-0.8.
From: |
guix-commits |
Subject: |
195/475: gnu: Add rust-tiff-0.8. |
Date: |
Sun, 7 May 2023 12:46:57 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit ca6aed0889e7284266347336587c7c08e95eb644
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Feb 23 16:03:35 2023 +0200
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.
---
gnu/packages/crates-graphics.scm | 34 +++++++++++++++++++++++++++-------
1 file changed, 27 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index d924b5824d..3f0c1bb8e8 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -2256,8 +2256,34 @@ first-class Rust objects.")
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 @@ applications.")
(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
- 162/475: gnu: Remove rust-slab-0.3., (continued)
- 162/475: gnu: Remove rust-slab-0.3., guix-commits, 2023/05/07
- 167/475: gnu: Remove rust-polars-lazy-0.16., guix-commits, 2023/05/07
- 170/475: gnu: Remove rust-parity-wasm-0.40., guix-commits, 2023/05/07
- 174/475: gnu: Remove rust-git2-curl-0.14., guix-commits, 2023/05/07
- 176/475: gnu: Remove rust-float-cmp-0.3., guix-commits, 2023/05/07
- 83/475: gnu: Add rust-windows-sys-0.45., guix-commits, 2023/05/07
- 107/475: gnu: Add rust-http-auth-0.1., guix-commits, 2023/05/07
- 108/475: gnu: Add rust-kuznyechik-0.8., guix-commits, 2023/05/07
- 173/475: gnu: Remove rust-hashlink-0.6., guix-commits, 2023/05/07
- 181/475: gnu: Remove rust-pangocairo-0.9., guix-commits, 2023/05/07
- 195/475: gnu: Add rust-tiff-0.8.,
guix-commits <=
- 220/475: gnu: rust-wasm-bindgen-test-0.3: Update to 0.3.34., guix-commits, 2023/05/07
- 65/475: gnu: rust-snapbox-0.4: Update to 0.4.7., guix-commits, 2023/05/07
- 68/475: gnu: rust-time-0.3: Update to 0.3.19., guix-commits, 2023/05/07
- 70/475: gnu: Add rust-tokio-rustls-0.23., guix-commits, 2023/05/07
- 82/475: gnu: Add rust-zeroize-1.4., guix-commits, 2023/05/07
- 97/475: gnu: Add rust-rcgen-0.8., guix-commits, 2023/05/07
- 102/475: gnu: Add rust-magma-0.8., guix-commits, 2023/05/07
- 120/475: gnu: rust-threadpool-1: Update to 1.8.1., guix-commits, 2023/05/07
- 128/475: gnu: rust-windows-x86-64-gnullvm-0.42: Update to 0.42.1., guix-commits, 2023/05/07
- 135/475: gnu: rust-getrandom-0.2: Update to 0.2.8., guix-commits, 2023/05/07