aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-03-19 12:08:08 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-03-19 22:33:29 +0200
commitb9affb662bab8238ed8b5cf9a8e7e19adfbe78ca (patch)
tree82c5022086551fc7b8eaf12870e1f1912eb01ae1 /gnu
parent2d1cc3a4c9db6edbc80df788102f573bd34c733e (diff)
downloadpatches-b9affb662bab8238ed8b5cf9a8e7e19adfbe78ca.tar
patches-b9affb662bab8238ed8b5cf9a8e7e19adfbe78ca.tar.gz
gnu: Add rust-pangocairo-0.8.
* gnu/packages/crates-io.scm (rust-pangocairo-0.8): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm37
1 files changed, 37 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 13f36f120c..a90d28d102 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -12238,6 +12238,43 @@ normally prevent moving a type that has been borrowed from.")
(description "This package provides FFI bindings to @code{libpango-1.0}.")
(license license:expat)))
+(define-public rust-pangocairo-0.8
+ (package
+ (name "rust-pangocairo")
+ (version "0.8.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pangocairo" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0qjiwsp73x3w0493dzycyjzxnzwq7ixwmf1ccr5r41pjhxbnk1kl"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-cairo-rs" ,rust-cairo-rs-0.7)
+ ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9)
+ ("rust-glib" ,rust-glib-0.8)
+ ("rust-glib-sys" ,rust-glib-sys-0.9)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.9)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-pango" ,rust-pango-0.7)
+ ("rust-pango-sys" ,rust-pango-sys-0.9)
+ ("rust-pangocairo-sys" ,rust-pangocairo-sys-0.10)
+ ("rust-gtk-rs-lgpl-docs" ,rust-gtk-rs-lgpl-docs-0.1))
+ #:cargo-development-inputs
+ (("rust-gir-format-check" ,rust-gir-format-check-0.1))))
+ (inputs
+ `(("gtk+" ,gtk+)))
+ (home-page "http://gtk-rs.org/")
+ (synopsis "Rust bindings for the PangoCairo library")
+ (description
+ "Rust bindings for the PangoCairo library.")
+ (license license:expat)))
+
(define-public rust-pangocairo-sys-0.10
(package
(name "rust-pangocairo-sys")