From: Jaeme Sifat via Guix-patches via <guix-patches@gnu.org>
To: 68623@debbugs.gnu.org
Cc: Jaeme Sifat <jaeme@runbox.com>, Efraim Flashner <efraim@flashner.co.il>
Subject: [bug#68623] [PATCH 4/6] gnu: Add rust-resize-0.7.
Date: Sat, 20 Jan 2024 18:30:23 -0500 [thread overview]
Message-ID: <b35515422fb01981881e7121efcd0a5d3ace736c.1705792641.git.jaeme@runbox.com> (raw)
In-Reply-To: <cover.1705792641.git.jaeme@runbox.com>
* gnu/packages/crates-graphics.scm (rust-resize-0.7): New variable.
Change-Id: I9bf5869aca32954e60292a338075b1a328c3109b
---
gnu/packages/crates-graphics.scm | 27 +++++++++++++++++++++++----
1 file changed, 23 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index e94fb856e0..11e4cb6706 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -3243,25 +3243,44 @@ (define-public rust-raw-window-metal-0.3
(description "Interop library between Metal and raw-window-handle.")
(license (list license:expat license:asl2.0))))
-(define-public rust-resize-0.4
+(define-public rust-resize-0.7
(package
(name "rust-resize")
- (version "0.4.3")
+ (version "0.7.4")
(source
(origin
(method url-fetch)
(uri (crate-uri "resize" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0bamrw2m37l8q46mcy6snp6106d93dq7x67hbbj32w88pjdhxn84"))))
+ (base32 "0hdd5r2m1700y6r88v5hq3q28xixrsbfhbzqz26409jyy3zvvrw7"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-development-inputs (("rust-png" ,rust-png-0.16))))
+ `(#:cargo-inputs
+ (("rust-fallible-collections" ,rust-fallible-collections-0.4)
+ ("rust-rgb" ,rust-rgb-0.8))
+ #:cargo-development-inputs
+ (("rust-png" ,rust-png-0.17))))
(home-page "https://github.com/PistonDevelopers/resize")
(synopsis "Image resampling library in pure Rust")
(description "This package provides an image resampling library in pure Rust.")
(license license:expat)))
+(define-public rust-resize-0.4
+ (package
+ (inherit rust-resize-0.7)
+ (name "rust-resize")
+ (version "0.4.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "resize" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0bamrw2m37l8q46mcy6snp6106d93dq7x67hbbj32w88pjdhxn84"))))
+ (arguments
+ `(#:cargo-development-inputs (("rust-png" ,rust-png-0.16))))))
+
(define-public rust-rgb-0.8
(package
(name "rust-rgb")
--
2.41.0
next prev parent reply other threads:[~2024-01-20 23:32 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-20 23:18 [bug#68623] [PATCH 0/6 rust-team] gnu: Add swww Jaeme Sifat via Guix-patches via
2024-01-20 23:30 ` [bug#68623] [PATCH 1/6] gnu: Add rust-keyframe-1 Jaeme Sifat via Guix-patches via
2024-01-20 23:30 ` [bug#68623] [PATCH 2/6] gnu: Add rust-spin-sleep-1 Jaeme Sifat via Guix-patches via
2024-01-20 23:30 ` [bug#68623] [PATCH 3/6] gnu: Add rust-sd-notify-0.4 Jaeme Sifat via Guix-patches via
2024-01-20 23:30 ` Jaeme Sifat via Guix-patches via [this message]
2024-01-20 23:30 ` [bug#68623] [PATCH 5/6] gnu: Add rust-fast-image-resize-2 Jaeme Sifat via Guix-patches via
2024-01-20 23:30 ` [bug#68623] [PATCH 6/6] gnu: Add swww Jaeme Sifat via Guix-patches via
2024-01-23 14:36 ` bug#68623: [PATCH 0/6 rust-team] " Efraim Flashner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b35515422fb01981881e7121efcd0a5d3ace736c.1705792641.git.jaeme@runbox.com \
--to=guix-patches@gnu.org \
--cc=68623@debbugs.gnu.org \
--cc=efraim@flashner.co.il \
--cc=jaeme@runbox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).