[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
195/373: gnu: Add rust-image-0.24.
From: |
guix-commits |
Subject: |
195/373: gnu: Add rust-image-0.24. |
Date: |
Sun, 16 Apr 2023 07:11:04 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit eaaec3dcac0e8eadd7370b3273ad60c7915125e9
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Feb 23 16:00:12 2023 +0200
gnu: Add rust-image-0.24.
* gnu/packages/crates-graphics.scm (rust-image-0.24): New variable.
(rust-image-0.23): Inherit from rust-image-0.24.
---
gnu/packages/crates-graphics.scm | 55 ++++++++++++++++++++++++++++++++++------
1 file changed, 47 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 739301296d..ba517cdaa8 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -1259,8 +1259,54 @@ EUI-64, also known as MAC-48 media access control
addresses.")
similar formats like VCard.")
(license license:asl2.0)))
+(define-public rust-image-0.24
+ (package
+ (name "rust-image")
+ (version "0.24.5")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "image" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
"0iarjrn9rimnri1g0hagdzljq3v9fy6gy7qlmz80yyskkfafmdv9"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; Not all files included.
+ #:cargo-inputs
+ (("rust-bytemuck" ,rust-bytemuck-1)
+ ("rust-byteorder" ,rust-byteorder-1)
+ ("rust-color-quant" ,rust-color-quant-1)
+ ("rust-dav1d" ,rust-dav1d-0.6)
+ ("rust-dcv-color-primitives" ,rust-dcv-color-primitives-0.4)
+ ("rust-exr" ,rust-exr-1)
+ ("rust-gif" ,rust-gif-0.11)
+ ("rust-jpeg-decoder" ,rust-jpeg-decoder-0.3)
+ ("rust-mp4parse" ,rust-mp4parse-0.12)
+ ("rust-num-rational" ,rust-num-rational-0.4)
+ ("rust-num-traits" ,rust-num-traits-0.2)
+ ("rust-png" ,rust-png-0.17)
+ ("rust-ravif" ,rust-ravif-0.8)
+ ("rust-rgb" ,rust-rgb-0.8)
+ ("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1)
+ ("rust-tiff" ,rust-tiff-0.8)
+ ("rust-webp" ,rust-webp-0.2))
+ #:cargo-development-inputs
+ (("rust-crc32fast" ,rust-crc32fast-1)
+ ("rust-criterion" ,rust-criterion-0.3)
+ ("rust-glob" ,rust-glob-0.3)
+ ("rust-jpeg-decoder" ,rust-jpeg-decoder-0.3)
+ ("rust-num-complex" ,rust-num-complex-0.4)
+ ("rust-quickcheck" ,rust-quickcheck-1))))
+ (home-page "https://github.com/image-rs/image")
+ (synopsis "Imaging library written in Rust")
+ (description
+ "This package is an imaging library written in Rust. It provides basic
+filters and decoders for the most common image formats.")
+ (license license:expat)))
+
(define-public rust-image-0.23
(package
+ (inherit rust-image-0.24)
(name "rust-image")
(version "0.23.14")
(source
@@ -1270,7 +1316,6 @@ similar formats like VCard.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "18gn2f7xp30pf9aqka877knlq308khxqiwjvsccvzaa4f9zcpzr4"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
@@ -1286,13 +1331,7 @@ similar formats like VCard.")
("rust-ravif" ,rust-ravif-0.6)
("rust-rgb" ,rust-rgb-0.8)
("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1)
- ("rust-tiff" ,rust-tiff-0.6))))
- (home-page "https://github.com/image-rs/image")
- (synopsis "Imaging library written in Rust")
- (description
- "This package is an imaging library written in Rust. It provides basic
-filters and decoders for the most common image formats.")
- (license license:expat)))
+ ("rust-tiff" ,rust-tiff-0.6))))))
(define-public rust-image-0.22
(package
- 168/373: gnu: Remove rust-rustc-hex-1., (continued)
- 168/373: gnu: Remove rust-rustc-hex-1., guix-commits, 2023/04/16
- 172/373: gnu: Remove rust-polars-io-0.15., guix-commits, 2023/04/16
- 173/373: gnu: Remove rust-polars-core-0.14., guix-commits, 2023/04/16
- 174/373: gnu: Remove rust-parity-wasm-0.40., guix-commits, 2023/04/16
- 176/373: gnu: Remove rust-ntest-0.3., guix-commits, 2023/04/16
- 178/373: gnu: Remove rust-git2-curl-0.14., guix-commits, 2023/04/16
- 179/373: gnu: Remove rust-gettext-sys-0.19., guix-commits, 2023/04/16
- 184/373: gnu: Remove rust-askama-0.10., guix-commits, 2023/04/16
- 188/373: gnu: rust-imgref-1: Update to 1.9.4., guix-commits, 2023/04/16
- 191/373: gnu: Add rust-ravif-0.8., guix-commits, 2023/04/16
- 195/373: gnu: Add rust-image-0.24.,
guix-commits <=
- 199/373: gnu: Add rust-tiff-0.8., guix-commits, 2023/04/16
- 205/373: gnu: rust-flume-0.10: Update to 0.10.14., guix-commits, 2023/04/16
- 206/373: gnu: Add rust-half-2., guix-commits, 2023/04/16
- 207/373: gnu: rust-js-sys-0.3: Update to 0.3.61., guix-commits, 2023/04/16
- 216/373: gnu: rust-test-assembler-0.1: Fix inputs., guix-commits, 2023/04/16
- 219/373: gnu: rust-wasm-bindgen-backend-0.2: Update to 0.2.84., guix-commits, 2023/04/16
- 220/373: gnu: rust-wasm-bindgen-futures-0.4: Update to 0.4.34., guix-commits, 2023/04/16
- 221/373: gnu: rust-wasm-bindgen-macro-0.2: Update to 0.2.84., guix-commits, 2023/04/16
- 222/373: gnu: rust-wasm-bindgen-macro-support-0.2: Update to 0.2.84., guix-commits, 2023/04/16
- 223/373: gnu: rust-wasm-bindgen-shared-0.2: Update to 0.2.84., guix-commits, 2023/04/16