gnu: Add rust-tiny-skia-path-0.11.

* gnu/packages/crates-io.scm (rust-tiny-skia-path-0.11): New variable.
(rust-tiny-skia-path-0.8): Inherit from rust-tiny-skia-path-0.11.

Change-Id: I79f817a3f296400166d708bee3fdd209e6ab311c
This commit is contained in:
Efraim Flashner 2024-01-04 11:52:41 +02:00
parent f5da783fcf
commit e86ade731b
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -75726,8 +75726,32 @@ (define-public rust-tiny-skia-0.8
(description "This package provides a tiny Skia subset ported to Rust.") (description "This package provides a tiny Skia subset ported to Rust.")
(license license:bsd-3))) (license license:bsd-3)))
(define-public rust-tiny-skia-path-0.11
(package
(name "rust-tiny-skia-path")
(version "0.11.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "tiny-skia-path" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0hg5a0i7f505l3ix5a9ywjhjbsgqq856hwgic6pslaq5j255xqsx"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-arrayref" ,rust-arrayref-0.3)
("rust-bytemuck" ,rust-bytemuck-1)
("rust-libm" ,rust-libm-0.2)
("rust-strict-num" ,rust-strict-num-0.1))))
(home-page "https://github.com/RazrFalcon/tiny-skia/tree/master/path")
(synopsis "Tiny-skia Bezier path implementation")
(description
"This package provides a tiny-skia Bezier path implementation.")
(license license:bsd-3)))
(define-public rust-tiny-skia-path-0.8 (define-public rust-tiny-skia-path-0.8
(package (package
(inherit rust-tiny-skia-path-0.11)
(name "rust-tiny-skia-path") (name "rust-tiny-skia-path")
(version "0.8.4") (version "0.8.4")
(source (origin (source (origin
@ -75737,18 +75761,12 @@ (define-public rust-tiny-skia-path-0.8
(sha256 (sha256
(base32 (base32
"0z37bzd222q3dlahmaxp2mf1pg5v9qyz3x0j3phs0myxyg9vbgxd")))) "0z37bzd222q3dlahmaxp2mf1pg5v9qyz3x0j3phs0myxyg9vbgxd"))))
(build-system cargo-build-system)
(arguments (arguments
`(#:cargo-inputs `(#:cargo-inputs
(("rust-arrayref" ,rust-arrayref-0.3) (("rust-arrayref" ,rust-arrayref-0.3)
("rust-bytemuck" ,rust-bytemuck-1) ("rust-bytemuck" ,rust-bytemuck-1)
("rust-libm" ,rust-libm-0.2) ("rust-libm" ,rust-libm-0.2)
("rust-strict-num" ,rust-strict-num-0.1)))) ("rust-strict-num" ,rust-strict-num-0.1))))))
(home-page "https://github.com/RazrFalcon/tiny-skia/path")
(synopsis "Tiny-skia Bezier path implementation")
(description
"This package provides a tiny-skia Bezier path implementation.")
(license license:bsd-3)))
(define-public rust-tinyfiledialogs-3 (define-public rust-tinyfiledialogs-3
(package (package