gnu: Add rust-ttf-parser-0.12.

* gnu/packages/crates-io.scm (rust-ttf-parser-0.12): New variable.
(rust-ttf-parser-0.6): Inherit from above.
This commit is contained in:
Nicolas Goaziou 2021-12-03 22:59:54 +01:00 committed by Leo Famulari
parent 0a0b2e4c18
commit 9dcd4ec35b
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08

View file

@ -58644,8 +58644,29 @@ (define-public rust-trybuild-1
"Test harness for ui tests of compiler diagnostics.")
(license (list license:expat license:asl2.0))))
(define-public rust-ttf-parser-0.12
(package
(name "rust-ttf-parser")
(version "0.12.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "ttf-parser" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1rkj90w4k21y88i69rlwb8pyfvv5lnb7x2b8yvdan21gha5gbqks"))))
(build-system cargo-build-system)
(arguments `(#:skip-build? #t))
(home-page "https://github.com/RazrFalcon/ttf-parser")
(synopsis "A high-level, safe, zero-allocation TrueType font parser.")
(description
"This package provides a high-level, safe, zero-allocation TrueType font
parser.")
(license (list license:expat license:asl2.0))))
(define-public rust-ttf-parser-0.6
(package
(inherit rust-ttf-parser-0.12)
(name "rust-ttf-parser")
(version "0.6.2")
(source
@ -58655,14 +58676,7 @@ (define-public rust-ttf-parser-0.6
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1p4z969pwd5adayy3ijq94iiak42yfxz8hk5wnkdsirymgbpqp9y"))))
(build-system cargo-build-system)
(arguments `(#:skip-build? #t))
(home-page "https://github.com/RazrFalcon/ttf-parser")
(synopsis "High-level, safe, zero-allocation TrueType font parser")
(description
"This package provides a high-level, safe, zero-allocation TrueType font
parser.")
(license (list license:expat license:asl2.0))))
(arguments `(#:skip-build? #t))))
(define-public rust-tui-0.16
(package