aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-gtk.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/crates-gtk.scm')
-rw-r--r--gnu/packages/crates-gtk.scm596
1 files changed, 497 insertions, 99 deletions
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index c0cdc13a59..cfa5de9f2a 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -168,8 +168,40 @@
#:cargo-development-inputs
(("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
+(define-public rust-cairo-rs-0.15
+ (package
+ (name "rust-cairo-rs")
+ (version "0.15.12")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cairo-rs" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1g396fdz8crf74dmmjarcsdbsm8qgxy3a5x9kw6m2d9xn28y6vn7"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.15)
+ ("rust-freetype" ,rust-freetype-0.7)
+ ("rust-glib" ,rust-glib-0.15)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-thiserror" ,rust-thiserror-1))
+ #:cargo-development-inputs
+ (("rust-tempfile" ,rust-tempfile-3))))
+ (native-inputs
+ (list pkg-config))
+ (inputs
+ (list cairo))
+ (home-page "https://gtk-rs.org/")
+ (synopsis "Rust bindings for the Cairo library")
+ (description "Rust bindings for the Cairo library")
+ (license license:expat)))
+
(define-public rust-cairo-rs-0.14
(package
+ (inherit rust-cairo-rs-0.15)
(name "rust-cairo-rs")
(version "0.14.9")
(source
@@ -191,13 +223,7 @@
("rust-libc" ,rust-libc-0.2)
("rust-thiserror" ,rust-thiserror-1))
#:cargo-development-inputs
- (("rust-tempfile" ,rust-tempfile-3))))
- (inputs
- (list cairo))
- (home-page "https://gtk-rs.org/")
- (synopsis "Rust bindings for the Cairo library")
- (description "Rust bindings for the Cairo library")
- (license license:expat)))
+ (("rust-tempfile" ,rust-tempfile-3))))))
(define-public rust-cairo-rs-0.9
(package
@@ -277,8 +303,37 @@
#:cargo-development-inputs
(("rust-tempfile" ,rust-tempfile-3))))))
+(define-public rust-cairo-sys-rs-0.15
+ (package
+ (name "rust-cairo-sys-rs")
+ (version "0.15.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cairo-sys-rs" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1j6k4pps3dv6g0vlpmxc2xyk0s40vj2wpzi55lbwjspmpqlx8m9w"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-glib-sys" ,rust-glib-sys-0.15)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-system-deps" ,rust-system-deps-6)
+ ("rust-winapi" ,rust-winapi-0.3)
+ ("rust-x11" ,rust-x11-2))))
+ (native-inputs
+ (list pkg-config))
+ (inputs
+ (list cairo))
+ (home-page "https://gtk-rs.org/")
+ (synopsis "FFI bindings to libcairo")
+ (description "This package provides FFI bindings to libcairo.")
+ (license license:expat)))
+
(define-public rust-cairo-sys-rs-0.14
(package
+ (inherit rust-cairo-sys-rs-0.15)
(name "rust-cairo-sys-rs")
(version "0.14.9")
(source
@@ -288,7 +343,6 @@
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0w3md4xk87ign30wb3rqfmmj0q6pvg5arbm35flgsd08jxvbhj5l"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build?
#t
@@ -298,12 +352,7 @@
("rust-system-deps" ,rust-system-deps-3)
("rust-winapi" ,rust-winapi-0.3)
("rust-x11" ,rust-x11-2))))
- (inputs
- (list cairo))
- (home-page "https://gtk-rs.org/")
- (synopsis "FFI bindings to libcairo")
- (description "This package provides FFI bindings to libcairo.")
- (license license:expat)))
+ (native-inputs '())))
(define-public rust-cairo-sys-rs-0.10
(package
@@ -440,8 +489,41 @@
#:cargo-development-inputs
(("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
+(define-public rust-gdk-pixbuf-0.15
+ (package
+ (name "rust-gdk-pixbuf")
+ (version "0.15.11")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gdk-pixbuf" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "16k1z21r76m620z61kfmgid1n6s8dnxpa4zlrppcr6dhr2fdsf5d"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(;; FIXME: error[E0277]: `Errors` doesn't implement `std::fmt::Display`
+ #:tests? #f
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.15)
+ ("rust-gio" ,rust-gio-0.15)
+ ("rust-glib" ,rust-glib-0.15)
+ ("rust-libc" ,rust-libc-0.2))
+ #:cargo-development-inputs
+ (("rust-gir-format-check" ,rust-gir-format-check-0.1))))
+ (native-inputs
+ (list pkg-config))
+ (inputs
+ (list gdk-pixbuf))
+ (home-page "https://gtk-rs.org/")
+ (synopsis "Rust bindings for the GdkPixbuf library")
+ (description "Rust bindings for the GdkPixbuf library")
+ (license license:expat)))
+
(define-public rust-gdk-pixbuf-0.14
(package
+ (inherit rust-gdk-pixbuf-0.15)
(name "rust-gdk-pixbuf")
(version "0.14.0")
(source
@@ -461,13 +543,7 @@
("rust-glib" ,rust-glib-0.14)
("rust-libc" ,rust-libc-0.2))
#:cargo-development-inputs
- (("rust-gir-format-check" ,rust-gir-format-check-0.1))))
- (inputs
- (list gdk-pixbuf))
- (home-page "https://gtk-rs.org/")
- (synopsis "Rust bindings for the GdkPixbuf library")
- (description "Rust bindings for the GdkPixbuf library")
- (license license:expat)))
+ (("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
(define-public rust-gdk-pixbuf-0.9
(package
@@ -549,8 +625,42 @@
#:cargo-development-inputs
(("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
+(define-public rust-gdk-pixbuf-sys-0.15
+ (package
+ (name "rust-gdk-pixbuf-sys")
+ (version "0.15.10")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gdk-pixbuf-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "19q2qjrzmmgc7bbs59sk6k0sv3xhpmnk9a2h0cajfr95g19jy2ql"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(;#:skip-build?
+ ;#t
+ #:cargo-inputs
+ (("rust-gio-sys" ,rust-gio-sys-0.15)
+ ("rust-glib-sys" ,rust-glib-sys-0.15)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.15)
+ ("rust-libc" ,rust-libc-0.2)
+ ("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
+ (list gdk-pixbuf))
+ (home-page "https://gtk-rs.org/")
+ (synopsis "FFI bindings to libgdk_pixbuf-2.0")
+ (description "This package provides FFI bindings to @code{libgdk_pixbuf-2.0}.")
+ (license license:expat)))
+
(define-public rust-gdk-pixbuf-sys-0.14
(package
+ (inherit rust-gdk-pixbuf-sys-0.15)
(name "rust-gdk-pixbuf-sys")
(version "0.14.0")
(source
@@ -572,13 +682,7 @@
("rust-system-deps" ,rust-system-deps-3))
#:cargo-development-inputs
(("rust-shell-words" ,rust-shell-words-0.1)
- ("rust-tempfile" ,rust-tempfile-3))))
- (inputs
- (list gdk-pixbuf))
- (home-page "https://gtk-rs.org/")
- (synopsis "FFI bindings to libgdk_pixbuf-2.0")
- (description "This package provides FFI bindings to @code{libgdk_pixbuf-2.0}.")
- (license license:expat)))
+ ("rust-tempfile" ,rust-tempfile-3))))))
(define-public rust-gdk-pixbuf-sys-0.10
(package
@@ -719,8 +823,48 @@
(("rust-shell-words" ,rust-shell-words-0.1)
("rust-tempfile" ,rust-tempfile-3))))))
+(define-public rust-gio-0.15
+ (package
+ (name "rust-gio")
+ (version "0.15.12")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gio" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0fr8qiqjf9yzl8867kgqdsxpkcx2jrns3xwmlf0jfiid668brzb8"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(;; FIXME: error[E0277]: `Errors` doesn't implement `std::fmt::Display`
+ #:tests? #f
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-futures-channel" ,rust-futures-channel-0.3)
+ ("rust-futures-core" ,rust-futures-core-0.3)
+ ("rust-futures-io" ,rust-futures-io-0.3)
+ ("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-gio-sys" ,rust-gio-sys-0.15)
+ ("rust-glib" ,rust-glib-0.15)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-thiserror" ,rust-thiserror-1))
+ #:cargo-development-inputs
+ (("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-gir-format-check" ,rust-gir-format-check-0.1)
+ ("rust-serial-test" ,rust-serial-test-0.6))))
+ (native-inputs
+ (list pkg-config))
+ (inputs
+ (list glib))
+ (home-page "https://gtk-rs.org/")
+ (synopsis "Rust bindings for the Gio library")
+ (description "Rust bindings for the Gio library")
+ (license license:expat)))
+
(define-public rust-gio-0.14
(package
+ (inherit rust-gio-0.15)
(name "rust-gio")
(version "0.14.8")
(source
@@ -746,13 +890,7 @@
("rust-thiserror" ,rust-thiserror-1))
#:cargo-development-inputs
(("rust-gir-format-check" ,rust-gir-format-check-0.1)
- ("rust-serial-test" ,rust-serial-test-0.4))))
- (inputs
- (list glib))
- (home-page "https://gtk-rs.org/")
- (synopsis "Rust bindings for the Gio library")
- (description "Rust bindings for the Gio library")
- (license license:expat)))
+ ("rust-serial-test" ,rust-serial-test-0.4))))))
(define-public rust-gio-0.9
(package
@@ -848,8 +986,51 @@
#:cargo-development-inputs
(("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
+(define-public rust-gio-sys-0.15
+ (package
+ (name "rust-gio-sys")
+ (version "0.15.10")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gio-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "13fgmc2xdzg9qk9l3nlp1bilwn6466mrqbiq4fhc9qkia93pl59j"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(;; FIXME: some GLib macros are not found
+ #:tests? #f
+ #:cargo-inputs
+ (("rust-glib-sys" ,rust-glib-sys-0.15)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.15)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-system-deps" ,rust-system-deps-6)
+ ("rust-winapi" ,rust-winapi-0.3))
+ #:cargo-development-inputs
+ (("rust-shell-words" ,rust-shell-words-1)
+ ("rust-tempfile" ,rust-tempfile-3))
+ #:phases (modify-phases %standard-phases
+ (add-before 'check 'extend-include-path
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((gio-headers (search-input-directory
+ inputs "include/gio-unix-2.0")))
+ ;; Tests rely on these headers.
+ (setenv "C_INCLUDE_PATH"
+ (string-append gio-headers ":"
+ (getenv "C_INCLUDE_PATH")))))))))
+ (native-inputs
+ (list pkg-config))
+ (inputs
+ (list glib))
+ (home-page "https://gtk-rs.org/")
+ (synopsis "FFI bindings to libgio-2.0")
+ (description "This package provides FFI bindings to libgio-2.0.")
+ (license license:expat)))
+
(define-public rust-gio-sys-0.14
(package
+ (inherit rust-gio-sys-0.15)
(name "rust-gio-sys")
(version "0.14.0")
(source
@@ -868,13 +1049,7 @@
("rust-gobject-sys" ,rust-gobject-sys-0.14)
("rust-libc" ,rust-libc-0.2)
("rust-system-deps" ,rust-system-deps-3)
- ("rust-winapi" ,rust-winapi-0.3))))
- (inputs
- (list glib))
- (home-page "https://gtk-rs.org/")
- (synopsis "FFI bindings to libgio-2.0")
- (description "This package provides FFI bindings to libgio-2.0.")
- (license license:expat)))
+ ("rust-winapi" ,rust-winapi-0.3))))))
(define-public rust-gio-sys-0.10
(package
@@ -939,8 +1114,51 @@
(description "File format checker in Rust.")
(license license:expat)))
+(define-public rust-glib-0.15
+ (package
+ (name "rust-glib")
+ (version "0.15.12")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "glib" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0pahikbwxr3vafdrr5l2hnlhkf9xi4illryan0l59ayhp9pk1c7d"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(;; FIXME: error[E0277]: `Errors` doesn't implement `std::fmt::Display`
+ #:tests? #f
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-futures-channel" ,rust-futures-channel-0.3)
+ ("rust-futures-core" ,rust-futures-core-0.3)
+ ("rust-futures-executor" ,rust-futures-executor-0.3)
+ ("rust-futures-task" ,rust-futures-task-0.3)
+ ("rust-glib-macros" ,rust-glib-macros-0.15)
+ ("rust-glib-sys" ,rust-glib-sys-0.15)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.15)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-smallvec" ,rust-smallvec-1)
+ ("rust-thiserror" ,rust-thiserror-1))
+ #:cargo-development-inputs
+ (("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-gir-format-check" ,rust-gir-format-check-0.1)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (native-inputs
+ (list pkg-config))
+ (inputs
+ (list glib))
+ (home-page "https://gtk-rs.org/")
+ (synopsis "Rust bindings for the GLib library")
+ (description "Rust bindings for the GLib library")
+ (license license:expat)))
+
(define-public rust-glib-0.14
(package
+ (inherit rust-glib-0.15)
(name "rust-glib")
(version "0.14.8")
(source
@@ -966,13 +1184,7 @@
("rust-libc" ,rust-libc-0.2)
("rust-log" ,rust-log-0.4)
("rust-once-cell" ,rust-once-cell-1)
- ("rust-smallvec" ,rust-smallvec-1))))
- (inputs
- (list glib))
- (home-page "https://gtk-rs.org/")
- (synopsis "Rust bindings for the GLib library")
- (description "Rust bindings for the GLib library")
- (license license:expat)))
+ ("rust-smallvec" ,rust-smallvec-1))))))
(define-public rust-glib-0.10
(package
@@ -1057,8 +1269,37 @@
#:cargo-development-inputs
(("rust-tempfile" ,rust-tempfile-3))))))
+(define-public rust-glib-macros-0.15
+ (package
+ (name "rust-glib-macros")
+ (version "0.15.11")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "glib-macros" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0r3cr0c79rs91z0sps089nsf8ppnm8agp48qwwqlkc32lqqq39i5"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(;; XXX: Circular dependency on rust-glib??
+ #:tests? #f
+ #:cargo-inputs
+ (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-heck" ,rust-heck-0.4)
+ ("rust-proc-macro-crate" ,rust-proc-macro-crate-1)
+ ("rust-proc-macro-error" ,rust-proc-macro-error-1)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))))
+ (home-page "https://gtk-rs.org/")
+ (synopsis "Rust bindings for the GLib library, proc macros crate")
+ (description "Rust bindings for the GLib library, proc macros crate.")
+ (license license:expat)))
+
(define-public rust-glib-macros-0.14
(package
+ (inherit rust-glib-macros-0.15)
(name "rust-glib-macros")
(version "0.14.1")
(source
@@ -1079,11 +1320,7 @@
("rust-proc-macro-error" ,rust-proc-macro-error-1)
("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
- ("rust-syn" ,rust-syn-1))))
- (home-page "https://gtk-rs.org/")
- (synopsis "Rust bindings for the GLib library, proc macros crate")
- (description "Rust bindings for the GLib library, proc macros crate.")
- (license license:expat)))
+ ("rust-syn" ,rust-syn-1))))))
(define-public rust-glib-macros-0.10
(package
@@ -1109,8 +1346,40 @@
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-1))))))
+(define-public rust-glib-sys-0.15
+ (package
+ (name "rust-glib-sys")
+ (version "0.15.10")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "glib-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1m5sqm69fdk8vaw6hggyizhs1r1vivx73splrdvczsb5iqpijjzg"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(;; XXX: Tests are sensitive to the version of glib, even though
+ ;; the library supports a wide range. Skip for now.
+ #:tests? #f
+ #:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2)
+ ("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
+ (list glib))
+ (home-page "https://gtk-rs.org/")
+ (synopsis "FFI bindings to libglib-2.0")
+ (description "This package provides FFI bindings to libglib-2.0.")
+ (license license:expat)))
+
(define-public rust-glib-sys-0.14
(package
+ (inherit rust-glib-sys-0.15)
(name "rust-glib-sys")
(version "0.14.0")
(source
@@ -1120,7 +1389,6 @@
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1bjlymn3fw4g8slij6iiggaipknf9072mr2qm3i4a91199an078w"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build?
#t
@@ -1130,12 +1398,7 @@
#:cargo-development-inputs
(("rust-shell-words" ,rust-shell-words-0.1)
("rust-tempfile" ,rust-tempfile-3))))
- (inputs
- (list glib))
- (home-page "https://gtk-rs.org/")
- (synopsis "FFI bindings to libglib-2.0")
- (description "This package provides FFI bindings to libglib-2.0.")
- (license license:expat)))
+ (native-inputs '())))
(define-public rust-glib-sys-0.10
(package
@@ -1181,28 +1444,32 @@
(("rust-shell-words" ,rust-shell-words-0.1)
("rust-tempfile" ,rust-tempfile-3))))))
-(define-public rust-gobject-sys-0.14
+(define-public rust-gobject-sys-0.15
(package
(name "rust-gobject-sys")
- (version "0.14.0")
+ (version "0.15.10")
(source
(origin
(method url-fetch)
(uri (crate-uri "gobject-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1xf3jiwzrjingq8jr15bjkbv6m5dypzp67cjnm5f7njrjzicm4ma"))))
+ (base32 "02hyilvpi4hw4gr03z2plsbf1zicsfs5l0xxadqx3v3b4i2cwmqd"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build?
- #t
+ `(;; FIXME: Constant value mismatch for G_TYPE_FUNDAMENTAL_MAX
+ ;; Rust: "255"
+ ;; C: "1020"
+ #:tests? #f
#:cargo-inputs
- (("rust-glib-sys" ,rust-glib-sys-0.14)
+ (("rust-glib-sys" ,rust-glib-sys-0.15)
("rust-libc" ,rust-libc-0.2)
- ("rust-system-deps" ,rust-system-deps-3))
+ ("rust-system-deps" ,rust-system-deps-6))
#:cargo-development-inputs
- (("rust-shell-words" ,rust-shell-words-0.1)
+ (("rust-shell-words" ,rust-shell-words-1)
("rust-tempfile" ,rust-tempfile-3))))
+ (native-inputs
+ (list pkg-config))
(inputs
(list glib))
(home-page "https://gtk-rs.org/")
@@ -1210,6 +1477,28 @@
(description "This package provides FFI bindings to libgobject-2.0.")
(license license:expat)))
+(define-public rust-gobject-sys-0.14
+ (package
+ (inherit rust-gobject-sys-0.15)
+ (version "0.14.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gobject-sys" version))
+ (file-name (string-append "rust-gobject-sys-" version ".tar.gz"))
+ (sha256
+ (base32 "1xf3jiwzrjingq8jr15bjkbv6m5dypzp67cjnm5f7njrjzicm4ma"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-glib-sys" ,rust-glib-sys-0.14)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-system-deps" ,rust-system-deps-3))
+ #:cargo-development-inputs
+ (("rust-shell-words" ,rust-shell-words-0.1)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (native-inputs '())))
+
(define-public rust-gobject-sys-0.10
(package
(inherit rust-gobject-sys-0.14)
@@ -1482,29 +1771,31 @@
library.")
(license license:expat)))
-(define-public rust-pango-0.14
+(define-public rust-pango-0.15
(package
(name "rust-pango")
- (version "0.14.8")
+ (version "0.15.10")
(source
(origin
(method url-fetch)
(uri (crate-uri "pango" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "10c5q8wl9gkjh323whq6pg9yfvr2vmz00f98z1d77jp506cdavsl"))))
+ (base32 "0ksf85fqkw4y5pf21p84g5xn4fnqn21cbrmx2d9yx6k591ah9r12"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build?
- #t
+ `(;; FIXME: error[E0277]: `Errors` doesn't implement `std::fmt::Display`
+ #:tests? #f
#:cargo-inputs
(("rust-bitflags" ,rust-bitflags-1)
- ("rust-glib" ,rust-glib-0.14)
+ ("rust-glib" ,rust-glib-0.15)
("rust-libc" ,rust-libc-0.2)
("rust-once-cell" ,rust-once-cell-1)
- ("rust-pango-sys" ,rust-pango-sys-0.14))
+ ("rust-pango-sys" ,rust-pango-sys-0.15))
#:cargo-development-inputs
(("rust-gir-format-check" ,rust-gir-format-check-0.1))))
+ (native-inputs
+ (list pkg-config))
(inputs
(list pango))
(home-page "https://gtk-rs.org/")
@@ -1512,6 +1803,31 @@ library.")
(description "Rust bindings for the Pango library")
(license license:expat)))
+(define-public rust-pango-0.14
+ (package
+ (inherit rust-pango-0.15)
+ (name "rust-pango")
+ (version "0.14.8")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pango" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "10c5q8wl9gkjh323whq6pg9yfvr2vmz00f98z1d77jp506cdavsl"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-glib" ,rust-glib-0.14)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-pango-sys" ,rust-pango-sys-0.14))
+ #:cargo-development-inputs
+ (("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
+
(define-public rust-pango-0.9
(package
(inherit rust-pango-0.14)
@@ -1592,8 +1908,39 @@ library.")
#:cargo-development-inputs
(("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
+(define-public rust-pango-sys-0.15
+ (package
+ (name "rust-pango-sys")
+ (version "0.15.10")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pango-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1an3c931kbkr08n9d9d1dapsq3n26zs0xn4ixn11jrp4rn0h186j"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-glib-sys" ,rust-glib-sys-0.15)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.15)
+ ("rust-libc" ,rust-libc-0.2)
+ ("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
+ (list pango))
+ (home-page "https://gtk-rs.org/")
+ (synopsis "FFI bindings to libpango-1.0")
+ (description "This package provides FFI bindings to @code{libpango-1.0}.")
+ (license license:expat)))
+
(define-public rust-pango-sys-0.14
(package
+ (inherit rust-pango-sys-0.15)
(name "rust-pango-sys")
(version "0.14.0")
(source
@@ -1603,7 +1950,6 @@ library.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1zj236n9kjldf47wwlxvhshwm5zhg589a0fml5mm8qg7lnf0jrr3"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build?
#t
@@ -1611,13 +1957,7 @@ library.")
(("rust-glib-sys" ,rust-glib-sys-0.14)
("rust-gobject-sys" ,rust-gobject-sys-0.14)
("rust-libc" ,rust-libc-0.2)
- ("rust-system-deps" ,rust-system-deps-3))))
- (inputs
- (list pango))
- (home-page "https://gtk-rs.org/")
- (synopsis "FFI bindings to libpango-1.0")
- (description "This package provides FFI bindings to @code{libpango-1.0}.")
- (license license:expat)))
+ ("rust-system-deps" ,rust-system-deps-3))))))
(define-public rust-pango-sys-0.10
(package
@@ -1662,8 +2002,44 @@ library.")
(("rust-shell-words" ,rust-shell-words-0.1)
("rust-tempfile" ,rust-tempfile-3))))))
+(define-public rust-pangocairo-0.15
+ (package
+ (name "rust-pangocairo")
+ (version "0.15.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pangocairo" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0rjk0clrjxah4kc0kybn7l7bxa5m5kpxkihxc2i7a6hx3xfa8xkq"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(;; FIXME: error[E0277]: `Errors` doesn't implement `std::fmt::Display`
+ #:tests? #f
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-cairo-rs" ,rust-cairo-rs-0.15)
+ ("rust-glib" ,rust-glib-0.15)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-pango" ,rust-pango-0.15)
+ ("rust-pangocairo-sys" ,rust-pangocairo-sys-0.15))
+ #:cargo-development-inputs
+ (("rust-gir-format-check" ,rust-gir-format-check-0.1))))
+ (native-inputs
+ (list pkg-config))
+ (inputs
+ (list pango))
+ (home-page "https://gtk-rs.org/")
+ (synopsis "Rust bindings for the PangoCairo library")
+ (description
+ "Rust bindings for the PangoCairo library.")
+ (license license:expat)))
+
(define-public rust-pangocairo-0.9
(package
+ (inherit rust-pangocairo-0.15)
(name "rust-pangocairo")
(version "0.9.0")
(source
@@ -1690,14 +2066,7 @@ library.")
("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
- (list gtk+))
- (home-page "https://gtk-rs.org/")
- (synopsis "Rust bindings for the PangoCairo library")
- (description
- "Rust bindings for the PangoCairo library.")
- (license license:expat)))
+ (("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
(define-public rust-pangocairo-0.8
(package
@@ -1729,8 +2098,43 @@ library.")
#:cargo-development-inputs
(("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
+(define-public rust-pangocairo-sys-0.15
+ (package
+ (name "rust-pangocairo-sys")
+ (version "0.15.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pangocairo-sys" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "154llaawy60zh8fkw2yq0r31ynpmqlsr7brryzaq2v4ijijp9kvq"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.15)
+ ("rust-glib-sys" ,rust-glib-sys-0.15)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-pango-sys" ,rust-pango-sys-0.15)
+ ("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)))
+
(define-public rust-pangocairo-sys-0.10
(package
+ (inherit rust-pangocairo-sys-0.15)
(name "rust-pangocairo-sys")
(version "0.10.1")
(source
@@ -1752,13 +2156,7 @@ library.")
("rust-pkg-config" ,rust-pkg-config-0.3))
#:cargo-development-inputs
(("rust-shell-words" ,rust-shell-words-0.1)
- ("rust-tempfile" ,rust-tempfile-3))))
- (inputs
- (list gtk+))
- (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