aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorValentin Ignatev <valentignatev@gmail.com>2020-01-20 03:58:31 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-02-25 10:17:26 +0200
commit448a63ee411b03a92fec7c2203b528be82bd80b6 (patch)
tree0d09aca74ae3dcb6633657af67299099c673264b /gnu
parent2a7940e83ea7911788b76e25f7eb213db7c3d2b9 (diff)
downloadpatches-448a63ee411b03a92fec7c2203b528be82bd80b6.tar
patches-448a63ee411b03a92fec7c2203b528be82bd80b6.tar.gz
gnu: Add rust-servo-freetype-sys-4.
* gnu/packages/crates-io.scm (rust-servo-freetype-sys-4): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 037e9981f3..9195528caa 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -13843,6 +13843,37 @@ for the serde framework.")
(description "YAML support for Serde.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-servo-freetype-sys-4
+ (package
+ (name "rust-servo-freetype-sys")
+ (version "4.0.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "servo-freetype-sys" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1z0dvnakans4vn4vlpx4nxg984427lh8dskxxz9pglij1mnwnk1c"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin (delete-file-recursively "freetype2") #t))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-cmake" ,rust-cmake-0.1)
+ ("rust-pkg-config" ,rust-pkg-config-0.3))))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (inputs
+ `(("freetype" ,freetype)))
+ (home-page "http://www.freetype.org/")
+ (synopsis "Rust wrapper around freetype")
+ (description
+ "This package provides a Rust wrapper around the FreeType library.")
+ (license license:mpl2.0))) ; build.rs is mpl2.0
+
(define-public rust-sha-1-0.8
(package
(name "rust-sha-1")