gnu: rust-av-metrics: Update to 0.7.2. Also update rust-lab to 0.11.0.

* gnu/packages/crates-io.scm (rust-lab-0.8): Update to 0.11.0, rename to...
(rust-lab-0.11): ... this.
[cargo-development-inputs]: Update rust-approx to 0.5, rust-pretty-assertions
to 0.7 and rust-rand to 0.8.
(rust-lab-0.7): Adjust accordingly.
(rust-lab-0.4): Inherit from rust-lab-0.7 and fix source field indentation.
(rust-av-metrics-0.6): Update to 0.7.2, renaming it to...
(rust-av-metrics-0.7): ... this.
[cargo-inputs]: Update rust-lab to 0.11.
[cargo-development-inputs]: Add rust-criterion-0.3 and rust-y4m-0.7.
This commit is contained in:
Maxim Cournoyer 2022-01-03 09:11:58 -05:00
parent 6b610674d1
commit 633733696c
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -4461,29 +4461,31 @@ (define-public rust-average-0.10
in Rust.")
(license (list license:asl2.0 license:expat))))
(define-public rust-av-metrics-0.6
(define-public rust-av-metrics-0.7
(package
(name "rust-av-metrics")
(version "0.6.2")
(version "0.7.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "av-metrics" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1g4k2q3226246jad3jl8pny7aphq8i03x4qyilzj4zgp27350hsz"))))
(base32 "1y1q61lhahljxh1l2brp8v795qf6g7gr4h4vdmq43g5z5pq2dw50"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
`(#:cargo-inputs
(("rust-crossbeam" ,rust-crossbeam-0.8)
("rust-itertools" ,rust-itertools-0.10)
("rust-lab" ,rust-lab-0.8)
("rust-lab" ,rust-lab-0.11)
("rust-num-traits" ,rust-num-traits-0.2)
("rust-rayon" ,rust-rayon-1)
("rust-serde" ,rust-serde-1)
("rust-thiserror" ,rust-thiserror-1)
("rust-v-frame" ,rust-v-frame-0.2))))
("rust-v-frame" ,rust-v-frame-0.2))
#:cargo-development-inputs
(("rust-criterion" ,rust-criterion-0.3)
("rust-y4m" ,rust-y4m-0.7))))
(home-page "https://github.com/rust-av/av-metrics")
(synopsis "Collection of algorithms for measuring audio/video metrics")
(description
@ -27152,10 +27154,10 @@ (define-public rust-language-tags-0.2
language tags.")
(license license:expat)))
(define-public rust-lab-0.8
(define-public rust-lab-0.11
(package
(name "rust-lab")
(version "0.8.1")
(version "0.11.0")
(source
(origin
(method url-fetch)
@ -27164,15 +27166,15 @@ (define-public rust-lab-0.8
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"1ysnbviwi35mq6xyz9c59mpgigyfp4s4y2mispxzrms4vk83bx15"))))
"13ymsn5cwl5i9pmp5mfmbap7q688dcp9a17q82crkvb784yifdmz"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-development-inputs
(("rust-approx" ,rust-approx-0.3)
(("rust-approx" ,rust-approx-0.5)
("rust-criterion" ,rust-criterion-0.3)
("rust-lazy-static" ,rust-lazy-static-1)
("rust-pretty-assertions" ,rust-pretty-assertions-0.6)
("rust-rand" ,rust-rand-0.5))))
("rust-pretty-assertions" ,rust-pretty-assertions-0.7)
("rust-rand" ,rust-rand-0.8))))
(home-page "https://github.com/TooManyBees/lab")
(synopsis "Convert RGB to CIE-LAB for Rust")
(description
@ -27182,7 +27184,7 @@ (define-public rust-lab-0.8
(define-public rust-lab-0.7
(package
(inherit rust-lab-0.8)
(inherit rust-lab-0.11)
(name "rust-lab")
(version "0.7.2")
(source
@ -27204,18 +27206,18 @@ (define-public rust-lab-0.7
(define-public rust-lab-0.4
(package
(inherit rust-lab-0.8)
(inherit rust-lab-0.7)
(name "rust-lab")
(version "0.4.4")
(source
(origin
(method url-fetch)
(uri (crate-uri "lab" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"0h4ig5bvzmwlzd74zj7b4sh7kzi3c6mjjnw7yjz8ijxvr4mrcr1s"))))
(origin
(method url-fetch)
(uri (crate-uri "lab" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"0h4ig5bvzmwlzd74zj7b4sh7kzi3c6mjjnw7yjz8ijxvr4mrcr1s"))))
(arguments
`(#:cargo-development-inputs
(("rust-rand" ,rust-rand-0.3))))))