diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index b0110886cf..978cf2d3c8 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -1910,6 +1910,32 @@ (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)))))) +(define-public rust-graphene-rs-0.18 + (package + (name "rust-graphene-rs") + (version "0.18.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "graphene-rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "00f4q1ra4haap5i7lazwhkdgnb49fs8adk2nm6ki6mjhl76jh8iv")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; `Errors` doesn't implement `std::fmt::Display` + #:cargo-inputs (("rust-glib" ,rust-glib-0.18) + ("rust-graphene-sys" ,rust-graphene-sys-0.18) + ("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 glib graphene)) + (home-page "https://gtk-rs.org/") + (synopsis "Rust bindings for the Graphene library") + (description "Rust bindings for the Graphene library.") + (license license:expat))) + (define-public rust-graphene-sys-0.18 (package (name "rust-graphene-sys")