summary refs log tree commit diff
path: root/gnu/packages/crates-gtk.scm
diff options
context:
space:
mode:
authorSergio Pastor PĂ©rez <sergio.pastorperez@outlook.es>2023-11-28 22:11:49 +0100
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:56:41 +0200
commit3fb7f36b0659900510933882d55c1a3fc4b97da6 (patch)
tree852118e65c86eff592270708353c09f310e3fc3c /gnu/packages/crates-gtk.scm
parent25d492f2e53bde8b1a14b43999d8ecd97d1a999f (diff)
downloadguix-3fb7f36b0659900510933882d55c1a3fc4b97da6.tar.gz
gnu: Add rust-graphene-rs-0.18.
* gnu/packages/crates-gtk.scm (rust-graphene-rs-0.18): New variable.

Change-Id: I811f6f290a1a789683d024a40222448cd0fa4125
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages/crates-gtk.scm')
-rw-r--r--gnu/packages/crates-gtk.scm26
1 files changed, 26 insertions, 0 deletions
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")