gnu: Add rust-stb-truetype-0.3.

* gnu/packages/crates-io.scm (rust-stb-truetype-0.3): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
Valentin Ignatev 2020-01-19 20:02:39 +03:00 committed by Efraim Flashner
parent 881bb73355
commit c2b63428f6
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -13600,6 +13600,34 @@ (define-public rust-static-assertions-0.3
are met.")
(license (list license:expat license:asl2.0))))
(define-public rust-stb-truetype-0.3
(package
(name "rust-stb-truetype")
(version "0.3.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "stb_truetype" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"0lgvnh3ma6cz811bk8imj45djz76zs47b8327sgnmik2x03nnyzp"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ; tests not included in release
#:cargo-inputs
(("rust-byteorder" ,rust-byteorder-1.3)
("rust-libm" ,rust-libm-0.2))
#:cargo-development-inputs
(("rust-approx" ,rust-approx-0.3))))
(home-page "https://gitlab.redox-os.org/redox-os/stb_truetype-rs")
(synopsis "Translation of the font loading code to Rust")
(description
"This package provides a straight translation of the font loading code
in @code{stb_truetype.h} from C to Rust.")
(license (list license:expat license:asl2.0))))
(define-public rust-stdweb-0.4
(package
(name "rust-stdweb")