diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-10-01 16:16:33 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-10-18 11:35:41 +0300 |
commit | bd73bec121ab894f8b87856e6883fd8791d47f9f (patch) | |
tree | 21744b32ff9370b4a0ad48f40b3364df0b184bb9 /gnu/packages/crates-gtk.scm | |
parent | 063bc94017b3c51836c1fbca601f92b61a08e56b (diff) | |
download | guix-bd73bec121ab894f8b87856e6883fd8791d47f9f.tar.gz |
gnu: Add rust-pangocairo-sys-0.17.
* gnu/packages/crates-gtk.scm (rust-pangocairo-sys-0.17): New variable. (rust-pangocairo-sys-0.15): Inherit from rust-pangocairo-sys-0.17.
Diffstat (limited to 'gnu/packages/crates-gtk.scm')
-rw-r--r-- | gnu/packages/crates-gtk.scm | 45 |
1 files changed, 34 insertions, 11 deletions
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index 695116e5a2..0abfddcea4 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -2222,8 +2222,41 @@ library.") "Rust bindings for the PangoCairo library.") (license license:expat))) +(define-public rust-pangocairo-sys-0.17 + (package + (name "rust-pangocairo-sys") + (version "0.17.10") + (source + (origin + (method url-fetch) + (uri (crate-uri "pangocairo-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ymr4aqrdpysz0rh383s4h6hj8nbkyj7n4723f45zzzqkf6x7pwl")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.17) + ("rust-glib-sys" ,rust-glib-sys-0.17) + ("rust-libc" ,rust-libc-0.2) + ("rust-pango-sys" ,rust-pango-sys-0.17) + ("rust-system-deps" ,rust-system-deps-6)) + #:cargo-development-inputs + (("rust-shell-words" ,rust-shell-words-1) + ("rust-tempfile" ,rust-tempfile-3)))) + (native-inputs + (list pkg-config)) + (inputs + ;; XXX: Should these be propagated from their respective crates? + (list cairo glib pango)) + (home-page "https://gtk-rs.org/") + (synopsis "FFI bindings to libgtk-3") + (description "This package provides FFI bindings to @code{PangoCairo}.") + (license license:expat))) + (define-public rust-pangocairo-sys-0.15 (package + (inherit rust-pangocairo-sys-0.17) (name "rust-pangocairo-sys") (version "0.15.1") (source @@ -2235,7 +2268,6 @@ library.") (sha256 (base32 "154llaawy60zh8fkw2yq0r31ynpmqlsr7brryzaq2v4ijijp9kvq")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.15) @@ -2245,16 +2277,7 @@ library.") ("rust-system-deps" ,rust-system-deps-6)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1) - ("rust-tempfile" ,rust-tempfile-3)))) - (native-inputs - (list pkg-config)) - (inputs - ;; XXX: Should these be propagated from their respective crates? - (list cairo glib pango)) - (home-page "https://gtk-rs.org/") - (synopsis "FFI bindings to libgtk-3") - (description "This package provides FFI bindings to libgtk-3.") - (license license:expat))) + ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-soup-sys-0.10 (package |