gnu: Add rust-dwrote-0.11.

* gnu/packages/crates-io.scm (rust-dwrote-0.11): New variable.
(rust-dwrote-0.9): Inherit from above.
This commit is contained in:
Nicolas Goaziou 2021-01-29 23:23:20 +01:00
parent c9d502d6fb
commit 1edd63b699
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -10190,8 +10190,36 @@ (define-public rust-dyn-clone-1
(description "Clone trait that is object-safe") (description "Clone trait that is object-safe")
(license (list license:expat license:asl2.0)))) (license (list license:expat license:asl2.0))))
(define-public rust-dwrote-0.11
(package
(name "rust-dwrote")
(version "0.11.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "dwrote" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0nx6d9ddqjv0gfi1if3zbsnc9sfj6qfm900jfgnx66k1llmir6j3"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-lazy-static" ,rust-lazy-static-1)
("rust-libc" ,rust-libc-0.2)
("rust-serde" ,rust-serde-1)
("rust-serde-derive" ,rust-serde-derive-1)
("rust-winapi" ,rust-winapi-0.3)
("rust-wio" ,rust-wio-0.2))))
(home-page "https://github.com/servo/dwrote-rs")
(synopsis "Lightweight binding to DirectWrite")
(description
"This package provides lightweight binding to DirectWrite.")
(license license:mpl2.0)))
(define-public rust-dwrote-0.9 (define-public rust-dwrote-0.9
(package (package
(inherit rust-dwrote-0.11)
(name "rust-dwrote") (name "rust-dwrote")
(version "0.9.0") (version "0.9.0")
(source (source
@ -10203,7 +10231,6 @@ (define-public rust-dwrote-0.9
(sha256 (sha256
(base32 (base32
"03gzl5pd90nlkmwqmbmjmyz47h7wlblbqrwv5a29npnv0ag3dl8b")))) "03gzl5pd90nlkmwqmbmjmyz47h7wlblbqrwv5a29npnv0ag3dl8b"))))
(build-system cargo-build-system)
(arguments (arguments
`(#:skip-build? #t `(#:skip-build? #t
#:cargo-inputs #:cargo-inputs
@ -10212,12 +10239,7 @@ (define-public rust-dwrote-0.9
("rust-serde" ,rust-serde-1) ("rust-serde" ,rust-serde-1)
("rust-serde-derive" ,rust-serde-derive-1) ("rust-serde-derive" ,rust-serde-derive-1)
;("rust-wio" ,rust-wio-0.2) ;("rust-wio" ,rust-wio-0.2)
("rust-winapi" ,rust-winapi-0.3)))) ("rust-winapi" ,rust-winapi-0.3))))))
(home-page "https://github.com/servo/dwrote-rs")
(synopsis "Lightweight binding to DirectWrite")
(description
"This package provides lightweight binding to DirectWrite.")
(license license:mpl2.0)))
(define-public rust-easy-parallel-3 (define-public rust-easy-parallel-3
(package (package