aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2022-07-27 15:30:27 +0200
committerMarius Bakke <marius@gnu.org>2022-07-27 16:20:36 +0200
commit4059158e6a284976c80b0fe8f64f69868d59ab10 (patch)
tree597116539071165e9603d5a916a66880a5330c11 /gnu
parent1160932ea09fdf7d95559116afa5bbfbc2be4778 (diff)
downloadguix-4059158e6a284976c80b0fe8f64f69868d59ab10.tar
guix-4059158e6a284976c80b0fe8f64f69868d59ab10.tar.gz
gnu: rust-png: Add 0.17.
* gnu/packages/crates-graphics.scm (rust-png-0.17): New variable. (rust-png-0.16): Inherit from it.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-graphics.scm42
1 files changed, 35 insertions, 7 deletions
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index c5d9555599..f0414602bc 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -12,6 +12,7 @@
;;; Copyright © 2020 Antoine Côté <antoine.cote@posteo.net>
;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2021 Zheng Junjie <873216071@qq.com>
+;;; Copyright © 2022 Marius Bakke <marius@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -2004,31 +2005,58 @@ interactive applications.")
"This package provides a library for window abstraction.")
(license license:expat)))
-(define-public rust-png-0.16
+(define-public rust-png-0.17
(package
(name "rust-png")
- (version "0.16.8")
+ (version "0.17.5")
(source
(origin
(method url-fetch)
(uri (crate-uri "png" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1ipl44q3vy4kvx6j296vk7d4v8gvcg203lrkvvixwixq1j98fciw"))))
+ (base32 "1fp3vnaxmjdv71dcakc21k07ir5s31dlx1mrazfqddzgaynw0f6w"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
+ `(#:tests? #false ;XXX missing files in tarball
#:cargo-inputs
(("rust-bitflags" ,rust-bitflags-1)
("rust-crc32fast" ,rust-crc32fast-1)
- ("rust-deflate" ,rust-deflate-0.8)
- ("rust-miniz-oxide" ,rust-miniz-oxide-0.3))))
- (home-page "https://github.com/image-rs/image-png.git")
+ ("rust-deflate" ,rust-deflate-1)
+ ("rust-miniz-oxide" ,rust-miniz-oxide-0.5))
+ #:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.3)
+ ("rust-getopts" ,rust-getopts-0.2)
+ ("rust-glium" ,rust-glium-0.31)
+ ("rust-glob" ,rust-glob-0.3)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-term" ,rust-term-0.7))))
+ (home-page "https://github.com/image-rs/image-png")
(synopsis "PNG decoding and encoding library in pure Rust")
(description
"This package is a PNG decoding and encoding library in pure Rust.")
(license (list license:expat license:asl2.0))))
+(define-public rust-png-0.16
+ (package
+ (inherit rust-png-0.17)
+ (name "rust-png")
+ (version "0.16.8")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "png" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1ipl44q3vy4kvx6j296vk7d4v8gvcg203lrkvvixwixq1j98fciw"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-crc32fast" ,rust-crc32fast-1)
+ ("rust-deflate" ,rust-deflate-0.8)
+ ("rust-miniz-oxide" ,rust-miniz-oxide-0.3))))))
+
(define-public rust-png-0.15
(package
(inherit rust-png-0.16)