guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

243/308: gnu: rust-jpeg-decoder-0.3: Update to 0.3.1.


From: guix-commits
Subject: 243/308: gnu: rust-jpeg-decoder-0.3: Update to 0.3.1.
Date: Wed, 4 Dec 2024 16:21:19 -0500 (EST)

efraim pushed a commit to branch rust-team
in repository guix.

commit c3b1d2723404543108a2c34e257b8f0a97c2c65d
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Dec 4 15:07:57 2024 +0200

    gnu: rust-jpeg-decoder-0.3: Update to 0.3.1.
    
    * gnu/packages/crates-graphics.scm (rust-jpeg-decoder-0.3): Update to
    0.3.1.
    [source]: Adjust the snippet to continue allowing for newer versions of
    dependencies.
    
    Change-Id: If0fc35f8a757ae92b7e24356a2f6082657f48427
---
 gnu/packages/crates-graphics.scm | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 9c324267a9..773df48e2b 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -2679,18 +2679,19 @@ pixel buffers with width, height and stride.")
 (define-public rust-jpeg-decoder-0.3
   (package
     (name "rust-jpeg-decoder")
-    (version "0.3.0")
+    (version "0.3.1")
     (source (origin
               (method url-fetch)
               (uri (crate-uri "jpeg-decoder" version))
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
-               (base32 "0gkv0zx95i4fr40fj1a10d70lqi6lfyia8r5q8qjxj8j4pj0005w"))
+               (base32 "1c1k53svpdyfhibkmm0ir5w0v3qmcmca8xr8vnnmizwf6pdagm7m"))
               (modules '((guix build utils)))
               (snippet
                '(begin
                   (substitute* "Cargo.toml"
-                    (("=0\\.2\\.83") "^0.2.83"))))))
+                    (("\"=([[:digit:]]+(\\.[[:digit:]]+)*)" _ version)
+                   (string-append "\"^" version)))))))
     (build-system cargo-build-system)
     (arguments
      `(#:tests? #f                  ; Not all files included



reply via email to

[Prev in Thread] Current Thread [Next in Thread]