aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-graphics.scm
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-10 18:30:43 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-13 11:50:43 +0100
commit8782381bdac3474bd18f023a24f834bb32d973a6 (patch)
treef7410c1739646901dcde60265534001adf5da036 /gnu/packages/crates-graphics.scm
parentaaa19438b6a9f8fc9a595434fca9e5470f23dca8 (diff)
downloadguix-8782381bdac3474bd18f023a24f834bb32d973a6.tar
guix-8782381bdac3474bd18f023a24f834bb32d973a6.tar.gz
gnu: Add rust-y4m-0.7.
* gnu/packages/crates-graphics.scm (rust-y4m-0.7): New variable. (rust-y4m-0.5): Inherit from above.
Diffstat (limited to 'gnu/packages/crates-graphics.scm')
-rw-r--r--gnu/packages/crates-graphics.scm27
1 files changed, 21 insertions, 6 deletions
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 3469b2b4d9..3467124805 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -2859,8 +2859,28 @@ the platform-specific getters provided by winit, or another library.")
(description "This package provides X11 library bindings for Rust.")
(license license:cc0)))
+(define-public rust-y4m-0.7
+ (package
+ (name "rust-y4m")
+ (version "0.7.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "y4m" version))
+ (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)))
+
(define-public rust-y4m-0.5
(package
+ (inherit rust-y4m-0.7)
(name "rust-y4m")
(version "0.5.3")
(source
@@ -2872,11 +2892,6 @@ the platform-specific getters provided by winit, or another library.")
(sha256
(base32
"1933677by64y06zfgip2yq8b2dza8xnljhaksx93czq90b54kscz"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-development-inputs
- (("rust-resize" ,rust-resize-0.3))))
- (home-page "https://github.com/image-rs/y4m")
- (synopsis "YUV4MPEG2 (.y4m) Encoder/Decoder.")
- (description "YUV4MPEG2 (.y4m) Encoder/Decoder.")
- (license license:expat)))
+ (("rust-resize" ,rust-resize-0.3))))))