mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-06 02:50:20 +01:00
gnu: Add rust-resize-0.7.
* gnu/packages/crates-graphics.scm (rust-resize-0.7): New variable. (rust-resize-0.4): Inherit from rust-resize-0.7. Change-Id: I9bf5869aca32954e60292a338075b1a328c3109b Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
b5dc8e9c13
commit
c83591da67
1 changed files with 25 additions and 6 deletions
|
@ -3243,8 +3243,32 @@ in AVIF format (powers the @code{cavif} tool).")
|
||||||
(description "Interop library between Metal and raw-window-handle.")
|
(description "Interop library between Metal and raw-window-handle.")
|
||||||
(license (list license:expat license:asl2.0))))
|
(license (list license:expat license:asl2.0))))
|
||||||
|
|
||||||
|
(define-public rust-resize-0.7
|
||||||
|
(package
|
||||||
|
(name "rust-resize")
|
||||||
|
(version "0.7.4")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "resize" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "0hdd5r2m1700y6r88v5hq3q28xixrsbfhbzqz26409jyy3zvvrw7"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#: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
|
(define-public rust-resize-0.4
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-resize-0.7)
|
||||||
(name "rust-resize")
|
(name "rust-resize")
|
||||||
(version "0.4.3")
|
(version "0.4.3")
|
||||||
(source
|
(source
|
||||||
|
@ -3254,13 +3278,8 @@ in AVIF format (powers the @code{cavif} tool).")
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0bamrw2m37l8q46mcy6snp6106d93dq7x67hbbj32w88pjdhxn84"))))
|
(base32 "0bamrw2m37l8q46mcy6snp6106d93dq7x67hbbj32w88pjdhxn84"))))
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:cargo-development-inputs (("rust-png" ,rust-png-0.16))))
|
`(#:cargo-development-inputs (("rust-png" ,rust-png-0.16))))))
|
||||||
(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-rgb-0.8
|
(define-public rust-rgb-0.8
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Add table
Reference in a new issue