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
This commit is contained in:
Efraim Flashner 2024-12-04 15:07:57 +02:00
parent 146cbaaf11
commit 6afcc09584
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -2679,18 +2679,19 @@ (define-public rust-imgref-1
(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