From 4aac8c798767fb593f12fc0b65d3424e1803027c Mon Sep 17 00:00:00 2001 From: Giacomo Leidi Date: Thu, 7 Nov 2024 23:26:58 +0100 Subject: gnu: Add rust-ashpd-0.6. * gnu/packages/crates-gtk.scm (rust-ashpd-0.6): New variable. Change-Id: If7b758010fe8c729d7e3319869a8d9c518ade46f Signed-off-by: Efraim Flashner --- gnu/packages/crates-gtk.scm | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index 7234c47c7e..9023ddce74 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -72,6 +72,50 @@ (define-public rust-aperture-0.3 "This package provides GTK Widget for cameras using gstreamer and pipewire.") (license license:gpl3+))) +(define-public rust-ashpd-0.6 + (package + (name "rust-ashpd") + (version "0.6.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "ashpd" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "109d7w6v0rnpy9lv4kmhwgh0sff0440s2vybj1k0ik4ib3d2xhja")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--" "--skip=src/lib.rs - (line 21)") + #:cargo-inputs (("rust-async-fs" ,rust-async-fs-2) + ("rust-async-net" ,rust-async-net-2) + ("rust-enumflags2" ,rust-enumflags2-0.7) + ("rust-futures-channel" ,rust-futures-channel-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-gdk4-wayland" ,rust-gdk4-wayland-0.7) + ("rust-gdk4-x11" ,rust-gdk4-x11-0.7) + ("rust-gtk4" ,rust-gtk4-0.7) + ("rust-libc" ,rust-libc-0.2) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-pipewire" ,rust-pipewire-0.7) + ("rust-rand" ,rust-rand-0.8) + ("rust-raw-window-handle" ,rust-raw-window-handle-0.5) + ("rust-serde" ,rust-serde-1) + ("rust-serde-repr" ,rust-serde-repr-0.1) + ("rust-tokio" ,rust-tokio-1) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-url" ,rust-url-2) + ("rust-wayland-backend" ,rust-wayland-backend-0.1) + ("rust-wayland-client" ,rust-wayland-client-0.30) + ("rust-wayland-protocols" ,rust-wayland-protocols-0.30) + ("rust-zbus" ,rust-zbus-3)) + #:cargo-development-inputs (("rust-byteorder" ,rust-byteorder-1) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://github.com/bilelmoussaoui/ashpd") + (synopsis "XDG portals wrapper in Rust using zbus") + (description + "This package provides an XDG portals wrapper in Rust using zbus.") + (license license:expat))) + (define-public rust-atk-0.14 (package (name "rust-atk") -- cgit v1.2.3