diff options
author | John Kehayias <john.kehayias@protonmail.com> | 2022-12-04 17:06:19 -0500 |
---|---|---|
committer | John Kehayias <john.kehayias@protonmail.com> | 2023-01-03 12:10:37 -0500 |
commit | 2f0418cd2c33497130e1b764952e8063117d7f8a (patch) | |
tree | 1a475e429564650048229372b589be5ab532c05e /gnu/packages/freedesktop.scm | |
parent | 4c123214669a9c54173cd89e0f86b603b23d93ea (diff) | |
download | guix-2f0418cd2c33497130e1b764952e8063117d7f8a.tar.gz |
gnu: Add flatpak-xdg-utils.
* gnu/packages/freedesktop.scm (flatpak-xdg-utils): New variable.
Diffstat (limited to 'gnu/packages/freedesktop.scm')
-rw-r--r-- | gnu/packages/freedesktop.scm | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index 4a4bb18002..304d04a711 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -2530,6 +2530,40 @@ Currently supported: @end itemize") (license license:isc))) +(define-public flatpak-xdg-utils + (package + (name "flatpak-xdg-utils") + (version "1.0.5") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/flatpak/flatpak-xdg-utils") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1q8wsc46fcjm737hz10jvgci5wl9sz8hj9aix2y2zdj11bqib9af")))) + (build-system meson-build-system) + (arguments + (list #:phases #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "dbus-run-session" "--" "meson" "test" + "--print-errorlogs"))))))) + (inputs (list glib)) + (native-inputs (list dbus pkg-config)) + (synopsis + "Simple portal-based commandline tools for use inside sandboxes") + (description + "This package contains a number of commandline utilities for use inside +Flatpak sandboxes and other containers, like @command{guix shell --container}. +They work by talking to portals. Currently, there is flatpak-spawn for +running commands in sandboxes as well as xdg-open and xdg-email, which are +compatible with the well-known scripts of the same name.") + (home-page "https://github.com/flatpak/flatpak-xdg-utils") + (license (list license:lgpl2.0+ license:lgpl2.1+)))) + (define-public libportal (package (name "libportal") |