[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
338/470: gnu: Add rust-ravif-0.8.
From: |
guix-commits |
Subject: |
338/470: gnu: Add rust-ravif-0.8. |
Date: |
Thu, 16 Mar 2023 03:01:55 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit e50c2e7c7a98697c0d6d01749e2d301b2c1c208d
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Feb 23 15:56:38 2023 +0200
gnu: Add rust-ravif-0.8.
* gnu/packages/crates-graphics.scm (rust-ravif-0.8): New variable.
(rust-ravif-0.6): Inherit from rust-ravif-0.8.
---
gnu/packages/crates-graphics.scm | 44 ++++++++++++++++++++++++++++++++++------
1 file changed, 38 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 759dfb84a6..f8526d5237 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -36,12 +36,14 @@
#:use-module (guix packages)
#:use-module (gnu packages)
#:use-module (gnu packages assembly)
+ #:use-module (gnu packages compression)
#:use-module (gnu packages crates-io)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages gl)
#:use-module (gnu packages llvm)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
+ #:use-module (gnu packages version-control)
#:use-module (gnu packages video))
;;;
@@ -1853,8 +1855,43 @@ interactive applications.")
("rust-glob" ,rust-glob-0.2)
("rust-term" ,rust-term-0.4))))))
+(define-public rust-ravif-0.8
+ (package
+ (name "rust-ravif")
+ (version "0.8.10+rust-1.67.0")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "ravif" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
"1r3s78781kb9lwysdvpdc80gavly33dcs4inhhp2dawml9g3rjss"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-avif-serialize" ,rust-avif-serialize-0.7)
+ ("rust-imgref" ,rust-imgref-1)
+ ("rust-loop9" ,rust-loop9-0.1)
+ ("rust-num-cpus" ,rust-num-cpus-1)
+ ("rust-quick-error" ,rust-quick-error-2)
+ ("rust-rav1e" ,rav1e)
+ ("rust-rayon" ,rust-rayon-1)
+ ("rust-rgb" ,rust-rgb-0.8))
+ #:cargo-development-inputs
+ (("rust-avif-parse" ,rust-avif-parse-1))))
+ (native-inputs
+ (list nasm pkg-config))
+ (inputs
+ (list libgit2 zlib))
+ (home-page "https://lib.rs/ravif")
+ (synopsis "Rust library for encoding images in AVIF format")
+ (description
+ "This package provides a rav1e-based pure Rust library for encoding
images in
+AVIF format (powers the `cavif` tool).")
+ (license license:bsd-3)))
+
(define-public rust-ravif-0.6
(package
+ (inherit rust-ravif-0.8)
(name "rust-ravif")
(version "0.6.4")
(source
@@ -1864,7 +1901,6 @@ interactive applications.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1gyc7w1fz3qdk95cdpkj185dm6lskxfp329xm69waxc565fcz9rx"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-avif-serialize" ,rust-avif-serialize-0.6)
@@ -1878,11 +1914,7 @@ interactive applications.")
(("rust-avif-parse" ,rust-avif-parse-0.13))))
(native-inputs
(list nasm)) ;for building rav1e
- (home-page "https://lib.rs/ravif")
- (synopsis "Library for encoding images in AVIF format")
- (description "This package is a rav1e-based pure Rust library for encoding
-images in AVIF format.")
- (license license:bsd-3)))
+ (inputs '())))
(define-public rust-raw-window-handle-0.4
(package
- 253/470: gnu: Add rust-botan-0.8., (continued)
- 253/470: gnu: Add rust-botan-0.8., guix-commits, 2023/03/16
- 297/470: gnu: rust-reqwest-0.11: Fix build., guix-commits, 2023/03/16
- 322/470: gnu: Remove rust-object-0.23., guix-commits, 2023/03/16
- 360/470: gnu: rust-num-cpus-1: Update to 1.15.0., guix-commits, 2023/03/16
- 229/470: gnu: Add rust-toml-test-0.3., guix-commits, 2023/03/16
- 230/470: gnu: Add rust-toml-edit-0.18., guix-commits, 2023/03/16
- 259/470: gnu: rust-futures-0.3: Update to 0.3.26., guix-commits, 2023/03/16
- 237/470: gnu: Add rust-rcgen-0.8., guix-commits, 2023/03/16
- 304/470: gnu: Add rust-proptest-derive-0.3., guix-commits, 2023/03/16
- 335/470: gnu: rust-imgref-1: Update to 1.9.4., guix-commits, 2023/03/16
- 338/470: gnu: Add rust-ravif-0.8.,
guix-commits <=
- 424/470: gnu: Add rust-nu-ansi-term-0.46., guix-commits, 2023/03/16
- 379/470: gnu: Remove rust-lexical-5., guix-commits, 2023/03/16
- 396/470: gnu: gtk+-2: Remove trailing #t from phases., guix-commits, 2023/03/16
- 402/470: gnu: gtk+-2: Skip two more tests., guix-commits, 2023/03/16
- 412/470: gnu: Add rust-jemallocator-0.5., guix-commits, 2023/03/16
- 415/470: gnu: rust-nix-0.26: Update to 0.26.2., guix-commits, 2023/03/16
- 442/470: gnu: rust-fixedbitset-0.4: Update to 0.4.2., guix-commits, 2023/03/16
- 444/470: gnu: rust-ring-0.14: Remove pregenerated files., guix-commits, 2023/03/16
- 450/470: gnu: Add rust-aes-ctr-0.6., guix-commits, 2023/03/16
- 456/470: gnu: rust-1.55: Remove bundled libraries., guix-commits, 2023/03/16