summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Ignatev <valentignatev@gmail.com>2020-01-15 04:20:22 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-02-12 21:19:53 +0200
commit77c4aa0fd8c76015414efc6f665c292640eeef02 (patch)
tree61a15b1d4425f6e51dc951b95b978497f61568d9
parent583b1648e4591e4bbb5742ba6552a79a51bac62b (diff)
gnu: Add rust-dwrote-0.9.
* gnu/packages/crates-io.scm (rust-dwrote-0.9): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ce444d1c5f..166fc13592 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3106,6 +3106,35 @@ floating-point primitives to an @code{io::Write}.")
"A library for running child processes.")
(license license:expat)))
+(define-public rust-dwrote-0.9
+ (package
+ (name "rust-dwrote")
+ (version "0.9.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "dwrote" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "03gzl5pd90nlkmwqmbmjmyz47h7wlblbqrwv5a29npnv0ag3dl8b"))))
+ (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.0)
+ ("rust-serde-derive" ,rust-serde-derive-1.0)
+ ;("rust-wio" ,rust-wio-0.2)
+ ("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-either-1.5
(package
(name "rust-either")