gnu: Add rust-freetype-rs-0.32.
* gnu/packages/crates-io.scm (rust-freetype-rs-0.32): New variable. (rust-freetype-rs-0.26): Inherit from rust-freetype-rs-0.32.
This commit is contained in:
parent
46a2cdd6e9
commit
b83c6943fe
1 changed files with 28 additions and 6 deletions
|
@ -25501,8 +25501,35 @@ values to other threads.")
|
||||||
(description "This package provides bindings for Freetype used by Servo.")
|
(description "This package provides bindings for Freetype used by Servo.")
|
||||||
(license (list license:asl2.0 license:expat))))
|
(license (list license:asl2.0 license:expat))))
|
||||||
|
|
||||||
|
(define-public rust-freetype-rs-0.32
|
||||||
|
(package
|
||||||
|
(name "rust-freetype-rs")
|
||||||
|
(version "0.32.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "freetype-rs" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "1q54jimjgzwdb3xsp7rsvdmp6w54cak7bvc379mdabc2ciz3776m"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:cargo-inputs
|
||||||
|
(("rust-bitflags" ,rust-bitflags-1)
|
||||||
|
("rust-freetype-sys" ,rust-freetype-sys-0.17)
|
||||||
|
("rust-libc" ,rust-libc-0.2))
|
||||||
|
#:cargo-development-inputs
|
||||||
|
(("rust-unicode-normalization" ,rust-unicode-normalization-0.1))))
|
||||||
|
(inputs
|
||||||
|
(list freetype))
|
||||||
|
(home-page "https://github.com/PistonDevelopers/freetype-rs")
|
||||||
|
(synopsis "Bindings for FreeType font library")
|
||||||
|
(description "This package provides bindings for FreeType font library.")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public rust-freetype-rs-0.26
|
(define-public rust-freetype-rs-0.26
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-freetype-rs-0.32)
|
||||||
(name "rust-freetype-rs")
|
(name "rust-freetype-rs")
|
||||||
(version "0.26.0")
|
(version "0.26.0")
|
||||||
(source
|
(source
|
||||||
|
@ -25512,17 +25539,12 @@ values to other threads.")
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1yzmbd73hlblbns0dqkcwfj54l97hx3yb0lqpda8rhm5s34xxskl"))))
|
(base32 "1yzmbd73hlblbns0dqkcwfj54l97hx3yb0lqpda8rhm5s34xxskl"))))
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:skip-build? #t
|
`(#:skip-build? #t
|
||||||
#:cargo-inputs
|
#:cargo-inputs
|
||||||
(("rust-bitflags" ,rust-bitflags-1)
|
(("rust-bitflags" ,rust-bitflags-1)
|
||||||
("rust-freetype-sys" ,rust-freetype-sys-0.13)
|
("rust-freetype-sys" ,rust-freetype-sys-0.13)
|
||||||
("rust-libc" ,rust-libc-0.2))))
|
("rust-libc" ,rust-libc-0.2))))))
|
||||||
(home-page "https://github.com/PistonDevelopers/freetype-rs")
|
|
||||||
(synopsis "Bindings for FreeType font library")
|
|
||||||
(description "This package provides bindings for FreeType font library.")
|
|
||||||
(license license:expat)))
|
|
||||||
|
|
||||||
(define-public rust-freetype-sys-0.17
|
(define-public rust-freetype-sys-0.17
|
||||||
(package
|
(package
|
||||||
|
|
Reference in a new issue