aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Ignatev <valentignatev@gmail.com>2020-01-19 02:18:59 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-02-22 23:39:30 +0200
commit6be9107582ca8bb36dcf651840ebbfecde928e8f (patch)
treeb295a77a0e3d248f00053c3230dd7de044deabf6
parent1ed60222878f1212cecdfb7783f0f6e78ddf5e4c (diff)
downloadguix-6be9107582ca8bb36dcf651840ebbfecde928e8f.tar.gz
guix-6be9107582ca8bb36dcf651840ebbfecde928e8f.zip
gnu: Add rust-freetype-rs-0.23.
* gnu/packages/crates-io.scm (rust-freetype-rs-0.23): 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 6fb3eb89b1..7a3a99ad2a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4302,6 +4302,35 @@ implementation that is more efficient for smaller hash keys.")
(base32
"0jxgzd04ra4imjv8jgkmdq59kj8fsz6w4zxsbmlai34h26225c00"))))))
+(define-public rust-freetype-rs-0.23
+ (package
+ (name "rust-freetype-rs")
+ (version "0.23.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "freetype-rs" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "06yn6l44wad0h0i4nzs5jfq64zgf89xr01fy1w22i90j22ilnkmd"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-freetype-sys" ,rust-freetype-sys-0.9)
+ ("rust-libc" ,rust-libc-0.2))
+ #:cargo-development-inputs
+ (("rust-unicode-normalization" ,rust-unicode-normalization-0.1))))
+ (inputs
+ `(("freetype" ,freetype)
+ ("zlib" ,zlib)))
+ (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.9
(package
(name "rust-freetype-sys")