aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Ignatev <valentignatev@gmail.com>2020-01-19 02:17:38 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-02-22 23:39:30 +0200
commit1ed60222878f1212cecdfb7783f0f6e78ddf5e4c (patch)
tree3bc3701376c4d1f88a531100aad8eab7e6dc8149
parentfb194747e933bed9d2b3fe0cba5ffaec33c67ad3 (diff)
downloadpatches-1ed60222878f1212cecdfb7783f0f6e78ddf5e4c.tar
patches-1ed60222878f1212cecdfb7783f0f6e78ddf5e4c.tar.gz
gnu: Add rust-freetype-sys-0.9.
* gnu/packages/crates-io.scm (rust-freetype-sys-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 4635c65561..6fb3eb89b1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -29,6 +29,7 @@
#:use-module (guix packages)
#:use-module (gnu packages)
#:use-module (gnu packages compression)
+ #:use-module (gnu packages fontutils)
#:use-module (gnu packages jemalloc)
#:use-module (gnu packages llvm)
#:use-module (gnu packages pcre)
@@ -4301,6 +4302,34 @@ implementation that is more efficient for smaller hash keys.")
(base32
"0jxgzd04ra4imjv8jgkmdq59kj8fsz6w4zxsbmlai34h26225c00"))))))
+(define-public rust-freetype-sys-0.9
+ (package
+ (name "rust-freetype-sys")
+ (version "0.9.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "freetype-sys" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1i309xc6gcsgdfiim3j5f0sk08imr4frlzfa185iaxqciysqgikx"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2)
+ ("rust-libz-sys" ,rust-libz-sys-1.0)
+ ("rust-pkg-config" ,rust-pkg-config-0.3))))
+ (inputs
+ `(("freetype" ,freetype)
+ ("zlib" ,zlib)))
+ (home-page "https://github.com/PistonDevelopers/freetype-sys")
+ (synopsis "Low level binding for FreeType font library")
+ (description
+ "This package provides low level binding for FreeType font library.")
+ (license license:expat)))
+
(define-public rust-fs-extra-1.1
(package
(name "rust-fs-extra")