From 30e5dc79e17763dfcf66f213a61a2d42d8edfe5e Mon Sep 17 00:00:00 2001 From: msglm Date: Sun, 9 Feb 2025 12:46:08 -0600 Subject: add rust-native-dialog@0.5 --- unlustig.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'unlustig.scm') diff --git a/unlustig.scm b/unlustig.scm index 6f403ff..de3d232 100644 --- a/unlustig.scm +++ b/unlustig.scm @@ -275,3 +275,35 @@ "This package provides egui framework - write GUI apps that compiles to web and/or natively.") (license (list license:expat license:asl2.0)))) +(define-public rust-native-dialog-0.5 + (package + (name "rust-native-dialog") + (version "0.5.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "native-dialog" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1mmpkh1gybi1fz93axqmaghd3q1kmmp87dz53hi5i0aq8ka92qki")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-cocoa" ,rust-cocoa-0.24) + ("rust-dirs-next" ,rust-dirs-next-2) + ("rust-objc" ,rust-objc-0.2) + ("rust-objc-foundation" ,rust-objc-foundation-0.1) + ("rust-objc-id" ,rust-objc-id-0.1) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-raw-window-handle" ,rust-raw-window-handle-0.3) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-wfd" ,rust-wfd-0.1) + ("rust-which" ,rust-which-4) + ("rust-winapi" ,rust-winapi-0.3)))) + (home-page "https://github.com/balthild/native-dialog-rs") + (synopsis + "library to display dialogs. Supports GNU/Linux, BSD Unix, macOS and Windows.") + (description + "This package provides a library to display dialogs. Supports GNU/Linux, BSD +Unix, @code{macOS} and Windows.") + (license license:expat))) + -- cgit v1.2.3