guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

09/12: gnu: Add rust-servo-fontconfig-0.4.


From: guix-commits
Subject: 09/12: gnu: Add rust-servo-fontconfig-0.4.
Date: Tue, 25 Feb 2020 03:53:14 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 753a43c2e8dd8f954e4d9bceccdd4d71a111af0a
Author: Valentin Ignatev <address@hidden>
AuthorDate: Mon Jan 20 03:59:16 2020 +0300

    gnu: Add rust-servo-fontconfig-0.4.
    
    * gnu/packages/crates-io.scm (rust-servo-fontconfig-0.4):
    New variable.
    
    Signed-off-by: Efraim Flashner <address@hidden>
---
 gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5774a45..2f1106f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -13874,6 +13874,33 @@ for the serde framework.")
      "This package provides a Rust wrapper around the FreeType library.")
     (license license:mpl2.0)))  ; build.rs is mpl2.0
 
+(define-public rust-servo-fontconfig-0.4
+  (package
+    (name "rust-servo-fontconfig")
+    (version "0.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "servo-fontconfig" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1nach6s4hdf86jz5hlm4p5r7vin91cs7gg89mr533id5fpbzi250"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-libc" ,rust-libc-0.2)
+        ("rust-servo-fontconfig-sys" ,rust-servo-fontconfig-sys-4))))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (inputs
+     `(("fontconfig" ,fontconfig)))
+    (home-page "https://github.com/servo/rust-fontconfig/";)
+    (synopsis "Rust bindings for fontconfig")
+    (description "This package provides Rust bindings for fontconfig.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-servo-fontconfig-sys-4
   (package
     (name "rust-servo-fontconfig-sys")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]