From 5b0f72dab0dec8322ad93d745a979344d01e38c7 Mon Sep 17 00:00:00 2001 From: Nicholas von Klitzing Date: Wed, 15 Dec 2021 23:44:54 +0100 Subject: [PATCH 05/29] gnu: Add rust-graphene-rs-0.14. * gnu/packages/crates-gtk.scm (rust-graphene-rs-0.14): New variable. --- gnu/packages/crates-gtk.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index b2bddc9e4c..16cb156f9f 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -996,6 +996,29 @@ (define-public rust-gsk4-0.3 (description "Rust bindings of the GSK 4 library") (license license:expat))) +(define-public rust-graphene-rs-0.14 + (package + (name "rust-graphene-rs") + (version "0.14.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "graphene-rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0qx52x0rfal29wlj0bc995gam403wf0c3fm2w2wrxvrh4l9hyf73")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? + #t + #:cargo-inputs + (("rust-glib" ,rust-glib-0.14) + ("rust-graphene-sys" ,rust-graphene-sys-0.14) + ("rust-libc" ,rust-libc-0.2)))) + (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-gtk-0.8 (package (name "rust-gtk") -- 2.34.0