[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
15/16: gnu: Add rust-fast-image-resize-2.
From: |
guix-commits |
Subject: |
15/16: gnu: Add rust-fast-image-resize-2. |
Date: |
Tue, 23 Jan 2024 09:35:39 -0500 (EST) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 8f386706cf167c12c37f681e6cef938a5d87c08e
Author: Jaeme Sifat <jaeme@runbox.com>
AuthorDate: Sat Jan 20 18:30:24 2024 -0500
gnu: Add rust-fast-image-resize-2.
* gnu/packages/crates-graphics.scm (rust-fast-image-resize-2): New variable.
Change-Id: Ifccaf0eeab21f20043b4a49d8d0a58f867e151a1
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
gnu/packages/crates-graphics.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 4ff77c6aef..6885d549c6 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -1225,6 +1225,41 @@ EUI-64, also known as MAC-48 media access control
addresses.")
(description "Read and write OpenEXR files without any unsafe code")
(license license:bsd-3)))
+(define-public rust-fast-image-resize-2
+ (package
+ (name "rust-fast-image-resize")
+ (version "2.7.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "fast_image_resize" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0nnm59h7dl2bpi5k2wcd7zz14nl00sa33jiipbjbn48f0i09ly6c"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; Unresolved import `testing'
+ #:cargo-inputs
+ (("rust-num-traits" ,rust-num-traits-0.2)
+ ("rust-thiserror" ,rust-thiserror-1))
+ #:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.4)
+ ("rust-image" ,rust-image-0.24)
+ ("rust-itertools" ,rust-itertools-0.10)
+ ("rust-nix" ,rust-nix-0.26)
+ ("rust-png" ,rust-png-0.17)
+ ("rust-resize" ,rust-resize-0.7)
+ ("rust-rgb" ,rust-rgb-0.8)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-walkdir" ,rust-walkdir-2))))
+ (home-page "https://github.com/cykooz/fast_image_resize")
+ (synopsis
+ "Fast image resizing with using of SIMD instructions")
+ (description
+ "This package provides fast image resizing with using of SIMD
instructions.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-fast-srgb8-1
(package
(name "rust-fast-srgb8")
- 05/16: gnu: rust-cbindgen-0.24: Update to 0.24.5., (continued)
- 05/16: gnu: rust-cbindgen-0.24: Update to 0.24.5., guix-commits, 2024/01/23
- 09/16: gnu: Add rust-inline-c-macro-0.1., guix-commits, 2024/01/23
- 10/16: gnu: Add rust-inline-c-0.1., guix-commits, 2024/01/23
- 11/16: gnu: Add rust-keyframe-1., guix-commits, 2024/01/23
- 03/16: gnu: rust-lz4-1: Update to 1.24.0., guix-commits, 2024/01/23
- 01/16: gnu: rbw: Accept newer versions of dependencies., guix-commits, 2024/01/23
- 06/16: gnu: Add rust-target-lexicon-0.11., guix-commits, 2024/01/23
- 12/16: gnu: Add rust-spin-sleep-1., guix-commits, 2024/01/23
- 13/16: gnu: Add rust-sd-notify-0.4., guix-commits, 2024/01/23
- 08/16: gnu: Add rust-libdeflater-1., guix-commits, 2024/01/23
- 15/16: gnu: Add rust-fast-image-resize-2.,
guix-commits <=
- 02/16: gnu: rust-1.74: Fix build on riscv64-linux., guix-commits, 2024/01/23
- 07/16: gnu: Add rust-libdeflate-sys-1., guix-commits, 2024/01/23
- 14/16: gnu: Add rust-resize-0.7., guix-commits, 2024/01/23
- 16/16: gnu: Add swww., guix-commits, 2024/01/23