mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: Add rust-y4m-0.8.
* gnu/packages/crates-graphics.scm (rust-y4m-0.8): New variable. (rust-y4m-0.7): Inherit from rust-y4m-0.8.
This commit is contained in:
parent
993c0ae6d2
commit
eeea0ec0f2
1 changed files with 22 additions and 7 deletions
|
@ -3823,8 +3823,29 @@ (define-public rust-x11-dl-2
|
|||
(description "This package provides X11 library bindings for Rust.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public rust-y4m-0.8
|
||||
(package
|
||||
(name "rust-y4m")
|
||||
(version "0.8.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "y4m" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "0j24y2zf60lpxwd7kyg737hqfyqx16y32s0fjyi6fax6w4hlnnks"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-development-inputs (("rust-resize" ,rust-resize-0.4))))
|
||||
(home-page "https://github.com/image-rs/y4m")
|
||||
(synopsis "YUV4MPEG2 (@file{.y4m}) encoder and decoder")
|
||||
(description
|
||||
"This package provides a YUV4MPEG2 (@file{.y4m}) encoder and decoder.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public rust-y4m-0.7
|
||||
(package
|
||||
(inherit rust-y4m-0.8)
|
||||
(name "rust-y4m")
|
||||
(version "0.7.0")
|
||||
(source
|
||||
|
@ -3834,13 +3855,7 @@ (define-public rust-y4m-0.7
|
|||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1bhdgb7hgx7j92nm6ij5n8wisp50j8ff66ks14jzwdw2mwhrjam7"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments `(#:skip-build? #t))
|
||||
(home-page "https://github.com/image-rs/y4m")
|
||||
(synopsis "YUV4MPEG2 (@file{.y4m}) encoder and decoder")
|
||||
(description
|
||||
"This package provides a YUV4MPEG2 (@file{.y4m}) encoder and decoder.")
|
||||
(license license:expat)))
|
||||
(arguments `(#:skip-build? #t))))
|
||||
|
||||
;;;
|
||||
;;; Avoid adding new packages to the end of this file. To reduce the chances
|
||||
|
|
Loading…
Reference in a new issue