diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-01-04 11:10:39 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:57:12 +0200 |
commit | c68327c3f0e1f0a76861be410bce5d5beea01d63 (patch) | |
tree | 48c9885e5457db705942f2446513fbb008958ec2 | |
parent | 71e24186541d9f842a5b2fea82eb34a2e38b99d5 (diff) | |
download | guix-c68327c3f0e1f0a76861be410bce5d5beea01d63.tar.gz guix-c68327c3f0e1f0a76861be410bce5d5beea01d63.zip |
gnu: Add rust-mp4parse-0.17.
* gnu/packages/crates-graphics.scm (rust-mp4parse-0.17): New variable.
(rust-mp4parse-0.12): Inherit from rust-mp4parse-0.17.
Change-Id: If29c5e672da5e80090f2d4e5cd01c115532c6584
-rw-r--r-- | gnu/packages/crates-graphics.scm | 38 |
1 files changed, 32 insertions, 6 deletions
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm index 15d90cb62c..533ebff916 100644 --- a/gnu/packages/crates-graphics.scm +++ b/gnu/packages/crates-graphics.scm @@ -2176,8 +2176,39 @@ graphics and video games.") (description "This package provides SVG helpers for the lyon crates.") (license (list license:expat license:asl2.0)))) +(define-public rust-mp4parse-0.17 + (package + (name "rust-mp4parse") + (version "0.17.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "mp4parse" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0w654hv04w1zi2m9b1kji2610mrfrc554xqw4par5kn6sc1m58v3")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--release" "--" + "--skip=overflow_protection" + "--skip=public") + #:cargo-inputs (("rust-bitreader" ,rust-bitreader-0.3) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-fallible-collections" ,rust-fallible-collections-0.4) + ("rust-log" ,rust-log-0.4) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-static-assertions" ,rust-static-assertions-1)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.4) + ("rust-test-assembler" ,rust-test-assembler-0.1) + ("rust-walkdir" ,rust-walkdir-2)))) + (home-page "https://github.com/mozilla/mp4parse-rust") + (synopsis "Parser for ISO base media file format (mp4)") + (description "Parser for ISO base media file format (mp4).") + (license license:mpl2.0))) + (define-public rust-mp4parse-0.12 (package + (inherit rust-mp4parse-0.17) (name "rust-mp4parse") (version "0.12.1") (source (origin @@ -2186,7 +2217,6 @@ graphics and video games.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1scynvlmiy6xv2rrzzpijd812amh6a863na8i0xrcw5d9d08kl8h")))) - (build-system cargo-build-system) (arguments `(#:tests? #f ; Not all files included. #:cargo-inputs @@ -2200,11 +2230,7 @@ graphics and video games.") #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3) ("rust-test-assembler" ,rust-test-assembler-0.1) - ("rust-walkdir" ,rust-walkdir-2)))) - (home-page "https://github.com/mozilla/mp4parse-rust") - (synopsis "Parser for ISO base media file format (mp4)") - (description "Parser for ISO base media file format (mp4)") - (license license:mpl2.0))) + ("rust-walkdir" ,rust-walkdir-2)))))) (define-public rust-osmesa-sys-0.1 (package |