diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-12-27 19:07:42 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-12-27 19:53:08 +0100 |
commit | 5345ed604ea0281c64dc5b4d1338c3c6116bffb1 (patch) | |
tree | 1d36f5340e2048efca9d6c9d7f671ba3f157b2ae /gnu/packages/crates-io.scm | |
parent | b8fb919cac1e8cf938d53ebb7c6e6fdfb26f6b8c (diff) | |
download | guix-patches-5345ed604ea0281c64dc5b4d1338c3c6116bffb1.tar guix-patches-5345ed604ea0281c64dc5b4d1338c3c6116bffb1.tar.gz |
gnu: Add rust-mp4-0.9.
* gnu/packages/crates-io.scm (rust-mp4-0.9): New variable.
(rust-mp4-0.8): Inherit from above.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 35 |
1 files changed, 29 insertions, 6 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index d3f77c5173..b6691f06e5 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -31381,8 +31381,36 @@ checking.") "Chaining APIs for both self -> Self and &mut self methods.") (license license:expat))) +(define-public rust-mp4-0.9 + (package + (name "rust-mp4") + (version "0.9.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "mp4" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "12rwsjj5fn5h198ih0ig08vz34rfjlnf8rw3d0i5jwbaay88f1kq")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-byteorder" ,rust-byteorder-1) + ("rust-bytes" ,rust-bytes-1) + ("rust-num-rational" ,rust-num-rational-0.4) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.3)))) + (home-page "https://github.com/alfg/mp4-rust") + (synopsis "MP4 reader and writer library in Rust") + (description "mp4 is a Rust library to read and write ISO-MP4 files.") + (license license:expat))) + (define-public rust-mp4-0.8 (package + (inherit rust-mp4-0.9) (name "rust-mp4") (version "0.8.3") (source @@ -31392,7 +31420,6 @@ checking.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "14zh9dh6hwzmbchl7yh8wv84r0fniq1jcbz9x2hqq699h6l1issi")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -31401,11 +31428,7 @@ checking.") ("rust-num-rational" ,rust-num-rational-0.3) ("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1) - ("rust-thiserror" ,rust-thiserror-1)))) - (home-page "https://github.com/alfg/mp4-rust") - (synopsis "MP4 reader and writer library in Rust") - (description "mp4 is a Rust library to read and write ISO-MP4 files.") - (license license:expat))) + ("rust-thiserror" ,rust-thiserror-1)))))) (define-public rust-mp4parse-0.11 (package |