gnu: rust-plotters-0.3: Update to 0.3.5.

* gnu/packages/crates-io.scm (rust-plotters-0.3): Update to 0.3.5.
[arguments]: Don't skip the build.  Add cargo-test-flags.
[cargo-inputs]: Add rust-ab-glyph-0.2, rust-once-cell-1.  Replace
rust-font-kit-0.10 with 0.11, rust-image-0.23 with 0.24,
rust-ttf-parser-0.12 with 0.17.
[cargo-development-inputs]: Add rust-criterion-0.4, rust-itertools-0.10,
rust-rand-0.8, rust-rand-distr-0.4, rust-rand-xorshift-0.3,
rust-rayon-1, rust-serde-1, rust-serde-derive-1, rust-serde-json-1,
rust-wasm-bindgen-test-0.3.
[native-inputs]: Add pkg-config.
[inputs]: Add fontconfig.

Change-Id: I99b71d035324d4c6e66974ac7e6e409732baaf48
This commit is contained in:
Efraim Flashner 2024-04-01 13:22:30 +03:00
parent 7ddb528153
commit 05f6cfa1e5
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -53377,30 +53377,53 @@ (define-public rust-plist-1
(define-public rust-plotters-0.3
(package
(name "rust-plotters")
(version "0.3.1")
(version "0.3.5")
(source
(origin
(method url-fetch)
(uri (crate-uri "plotters" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0akgmm5kqghl2b1q1qkzjggiqnb9smaz54fd5374k5qbqfggv8rj"))))
(base32 "0igxq58bx96gz58pqls6g3h80plf17rfl3b6bi6xvjnp02x29hnj"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
`(#:cargo-test-flags
'("--release" "--"
;; Not all files included.
"--skip=src/lib.rs - (line 310)"
"--skip=src/lib.rs - (line 458)"
"--skip=src/lib.rs - (line 480)"
"--skip=src/lib.rs - (line 508)"
"--skip=src/lib.rs - (line 534)"
"--skip=src/lib.rs - (line 576)")
#:cargo-inputs
(("rust-chrono" ,rust-chrono-0.4)
("rust-font-kit" ,rust-font-kit-0.10)
("rust-image" ,rust-image-0.23)
(("rust-ab-glyph" ,rust-ab-glyph-0.2)
("rust-chrono" ,rust-chrono-0.4)
("rust-font-kit" ,rust-font-kit-0.11)
("rust-image" ,rust-image-0.24)
("rust-lazy-static" ,rust-lazy-static-1)
("rust-num-traits" ,rust-num-traits-0.2)
("rust-once-cell" ,rust-once-cell-1)
("rust-pathfinder-geometry" ,rust-pathfinder-geometry-0.5)
("rust-plotters-backend" ,rust-plotters-backend-0.3)
("rust-plotters-bitmap" ,rust-plotters-bitmap-0.3)
("rust-plotters-svg" ,rust-plotters-svg-0.3)
("rust-ttf-parser" ,rust-ttf-parser-0.12)
("rust-ttf-parser" ,rust-ttf-parser-0.17)
("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
("rust-web-sys" ,rust-web-sys-0.3))))
("rust-web-sys" ,rust-web-sys-0.3))
#:cargo-development-inputs
(("rust-criterion" ,rust-criterion-0.4)
("rust-itertools" ,rust-itertools-0.10)
("rust-rand" ,rust-rand-0.8)
("rust-rand-distr" ,rust-rand-distr-0.4)
("rust-rand-xorshift" ,rust-rand-xorshift-0.3)
("rust-rayon" ,rust-rayon-1)
("rust-serde" ,rust-serde-1)
("rust-serde-derive" ,rust-serde-derive-1)
("rust-serde-json" ,rust-serde-json-1)
("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3))))
(native-inputs (list pkg-config))
(inputs (list fontconfig))
(home-page "https://github.com/38/plotters")
(synopsis "Rust drawing library focus on data plotting")
(description