From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id APucIfZ9VmX8YQEAauVa8A:P1 (envelope-from ) for ; Thu, 16 Nov 2023 21:39:18 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id APucIfZ9VmX8YQEAauVa8A (envelope-from ) for ; Thu, 16 Nov 2023 21:39:18 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 51C9F36F43 for ; Thu, 16 Nov 2023 21:39:18 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=planete-kraus.eu header.s=albinoniA header.b="E sB3bwx"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1700167158; a=rsa-sha256; cv=none; b=YRVOi6k+IqPMQZh5NFjjr6x93G/9MoS++qwpcWMDhl7Lj4nt5l4oAAl9lHEG0Qb7Q1ouKa PzAhhcx0ctXAeZpBuZDXMbBTh0m6qbEfj01Zrko/lUhBeAJ+s0RASTNOdxqNxFE+epbK+7 kWkfw3S/Zut82hWwgroaYoSCANtDMCVzYMBPTF++ERgVLE2m36LE6heZJphacCCcsvIzsL UtKIFl/Ojtf/tDOsZVhPj69OKjT4qSRRIzz979A8BpdZgYPY8TYazWiJFFx/NS/Hocrst4 IAO+fM5ex9iFcPowTwh7VC+kekdmGbFfhVRU8yjLnZNQpiuHwiaRii8g6rEM+Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=planete-kraus.eu header.s=albinoniA header.b="E sB3bwx"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1700167158; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=GtIRC5HGmmFWC2B9a1+MyKrkSrUT4Y49OjX/WfG5whE=; b=EJ+ZXfd5hin+DqkD1PeZWGRjBCGDZpqHAqAilLIuEv5KqoybYluExcK7noLJwqEMX4zzZu nYkHwRx7r+cpYUdpkYS7VMnld562QR7ILewtRzpKSOhHtnACmJYJru1+ajpPVQ27SkKuEm bg1GJ1pPG9E+oCZtKBcR/vae8bwOX5UZUhc+FdeDfAc47Et21hLXndRcscXAOQn1CWDDtL 5uxa6/MdDM90bLuZYdMJJKxy/Vkxl1wRDYeMjuwy0F1D+Rd1X1Yq+CxBKibSGg1zR0lgq0 YfzvUxZa2JhBoK8bGllLjr65wUw3ivRkdQ8xtzZoJ+K2q3OOJ8WwOrJCgX724w== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r3j8k-0007ea-8o; Thu, 16 Nov 2023 15:39:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r3j8i-0007d2-EF for guix-patches@gnu.org; Thu, 16 Nov 2023 15:39:04 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r3j8i-00046T-5x for guix-patches@gnu.org; Thu, 16 Nov 2023 15:39:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r3j8h-0005z4-UY for guix-patches@gnu.org; Thu, 16 Nov 2023 15:39:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61968] [PATCH gnome-team v4 3/8] gnu: Add libdex. Resent-From: Vivien Kraus Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 16 Nov 2023 20:39:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61968 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61968@debbugs.gnu.org Cc: rg@raghavgururajan.name, liliana.prikler@gmail.com, maxim.cournoyer@gmail.com Received: via spool by 61968-submit@debbugs.gnu.org id=B61968.170016714122957 (code B ref 61968); Thu, 16 Nov 2023 20:39:03 +0000 Received: (at 61968) by debbugs.gnu.org; 16 Nov 2023 20:39:01 +0000 Received: from localhost ([127.0.0.1]:44705 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r3j8e-0005yD-Rj for submit@debbugs.gnu.org; Thu, 16 Nov 2023 15:39:01 -0500 Received: from planete-kraus.eu ([89.234.140.182]:43014) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r3j8d-0005x4-3x for 61968@debbugs.gnu.org; Thu, 16 Nov 2023 15:38:59 -0500 Received: from planete-kraus.eu (localhost.lan [127.0.0.1]) by planete-kraus.eu (OpenSMTPD) with ESMTP id 7ea5e718; Thu, 16 Nov 2023 20:38:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=planete-kraus.eu; h= message-id:in-reply-to:references:from:date:subject:to:cc :mime-version; s=albinoniA; bh=+8koskmsoE0r2eYouCrMIPg/hgY=; b=E sB3bwx/rxGUwdG9fEGYvL9dn5zqbK02F6ZzBQ4KRDlidewRB8W8V8VGNPzsVpA+7 i1YK+52iv2EkTojvC+kz8L094qDwgdFuztw+ZwmXII8wHqOG1siivU/5/uU5gDh7 30WrWljZVFU/bDDYX+Qy9CIZLO0M9p2PTfkUKVdQ5Kan09Qb7hC6C/gbazKo/jpE vUg84+GAM6zpqi+9UNmZJSr2Rf4ujVsyWw3qa/HaGgKmdZkeGRo2231n7ePYxP/W Pen76KA7Sdm67/DjZK6c7YyUOUufgc8l7UiYz9dmbU/CPSlxmXcGhKwW9uBddNnx ztRJvR4W2qop4XX/hzmqg== Received: by planete-kraus.eu (OpenSMTPD) with ESMTPSA id 2fa3ec5e (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Thu, 16 Nov 2023 20:38:57 +0000 (UTC) Message-ID: In-Reply-To: References: Date: Thu, 16 Nov 2023 17:45:10 +0100 MIME-Version: 1.0 User-Agent: Evolution 3.46.4 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Vivien Kraus X-ACL-Warn: , Vivien Kraus via Guix-patches From: Vivien Kraus via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 51C9F36F43 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -5.09 X-Spam-Score: -5.09 X-TUID: xHBvTG483GF8 * gnu/packages/glib.scm (libdex): New variable. Change-Id: I834e45aff5e933e3e30276bb11030f84718ce72f --- gnu/packages/glib.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm index 2e3c5f0e8b..6e7996e686 100644 --- a/gnu/packages/glib.scm +++ b/gnu/packages/glib.scm @@ -1515,3 +1515,38 @@ (define-public dbus-test-runner (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+))) -- 2.41.0