[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
191/469: gnu: Add rust-image-0.24.
From: |
guix-commits |
Subject: |
191/469: gnu: Add rust-image-0.24. |
Date: |
Tue, 25 Apr 2023 15:03:05 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit f05efe2188297b4cfdaa04c1d0ad4d7a1ab2bb8b
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
- 164/469: gnu: Remove rust-rustc-hex-1., (continued)
- 164/469: gnu: Remove rust-rustc-hex-1., guix-commits, 2023/04/25
- 165/469: gnu: Remove rust-relay-0.1., guix-commits, 2023/04/25
- 167/469: gnu: Remove rust-polars-lazy-0.16., guix-commits, 2023/04/25
- 168/469: gnu: Remove rust-polars-io-0.15., guix-commits, 2023/04/25
- 171/469: gnu: Remove rust-object-0.23., guix-commits, 2023/04/25
- 189/469: gnu: Add rust-dav1d-sys-0.7., guix-commits, 2023/04/25
- 190/469: gnu: Add rust-dcv-color-primitives-0.4., guix-commits, 2023/04/25
- 186/469: gnu: Add rust-avif-parse-1., guix-commits, 2023/04/25
- 178/469: gnu: Remove rust-color-backtrace-0.5., guix-commits, 2023/04/25
- 188/469: gnu: Add rust-avif-serialize-0.7., guix-commits, 2023/04/25
- 191/469: gnu: Add rust-image-0.24.,
guix-commits <=
- 182/469: gnu: Remove rust-gl-0.11., guix-commits, 2023/04/25
- 197/469: gnu: rust-bitreader-0.3: Update to 0.3.6., guix-commits, 2023/04/25
- 200/469: gnu: rust-flate2-1: Update to 1.0.25., guix-commits, 2023/04/25
- 205/469: gnu: Add rust-libdeflate-sys-0.11., guix-commits, 2023/04/25
- 208/469: gnu: Add rust-nanorand-0.7., guix-commits, 2023/04/25
- 209/469: gnu: rust-num-cpus-1: Update to 1.15.0., guix-commits, 2023/04/25
- 210/469: gnu: rust-num-rational-0.4: Update to 0.4.1., guix-commits, 2023/04/25
- 212/469: gnu: rust-test-assembler-0.1: Fix inputs., guix-commits, 2023/04/25
- 213/469: gnu: rust-v-frame: Update to 0.3.3., guix-commits, 2023/04/25
- 219/469: gnu: rust-wasm-bindgen-shared-0.2: Update to 0.2.84., guix-commits, 2023/04/25