diff options
author | Vivien Kraus <vivien@planete-kraus.eu> | 2023-11-16 17:45:10 +0100 |
---|---|---|
committer | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2023-11-20 20:41:54 +0100 |
commit | fd25eae79c2a3924bb132592035c0cdd9f40b588 (patch) | |
tree | 288b37bb19b940d154217e0ce0a745f2316b70af | |
parent | 1cc3b7e80f60a2a5a6a1400ed0b025efeae7a523 (diff) | |
download | guix-fd25eae79c2a3924bb132592035c0cdd9f40b588.tar.gz guix-fd25eae79c2a3924bb132592035c0cdd9f40b588.zip |
gnu: Add libdex.
* gnu/packages/glib.scm (libdex): New variable.
Change-Id: I834e45aff5e933e3e30276bb11030f84718ce72f
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
-rw-r--r-- | gnu/packages/glib.scm | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm index ee44f8f403..b01b948fc6 100644 --- a/gnu/packages/glib.scm +++ b/gnu/packages/glib.scm @@ -1520,3 +1520,38 @@ to the host system, optionally with filters applied.") (description "A small little utility to run a couple of executables under a new DBus session for testing.") (license license:gpl3))) + +(define-public libdex + (package + (name "libdex") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://gnome/sources/" name "/" + (version-major+minor version) "/" + name "-" version ".tar.xz")) + (sha256 + (base32 "0fj4bggygdxgfsdrhc3zg1y2065g0skpz1l2bqwl0jqn9m3zbdc1")))) + (build-system meson-build-system) + (arguments + (list #:configure-flags #~'("-D" "docs=true"))) + (native-inputs + (list gobject-introspection + gi-docgen + pkg-config + vala)) + (inputs + (list glib + libsoup)) + (home-page "https://gitlab.gnome.org/GNOME/libdex") + (synopsis "Library for future-based programming with glib") + (description + "Dex provides Future-based programming for GLib-based applications. + +It both integrates with and brings new features for application and library +authors who want to manage concurrent code. + +Dex also provides Fibers which allow writing synchronous looking code in C +that uses asynchronous and future-based APIs.") + (license license:lgpl2.1+))) |