From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MONYEQywhmFFOgAAgWs5BA (envelope-from ) for ; Sat, 06 Nov 2021 17:40:44 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id GKv9DAywhmFzfQAA1q6Kng (envelope-from ) for ; Sat, 06 Nov 2021 16:40:44 +0000 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 057653450D for ; Sat, 6 Nov 2021 17:40:44 +0100 (CET) Received: from localhost ([::1]:56866 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mjOkF-0000jz-2q for larch@yhetil.org; Sat, 06 Nov 2021 12:40:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45610) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mjNmY-00047y-P6 for guix-patches@gnu.org; Sat, 06 Nov 2021 11:39:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38638) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mjNmY-0006Tc-GD for guix-patches@gnu.org; Sat, 06 Nov 2021 11:39:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mjNmY-00087S-CS for guix-patches@gnu.org; Sat, 06 Nov 2021 11:39:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51636] [PATCH guix] gnu: Add libphonenumber Resent-From: ~rdesfo Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 06 Nov 2021 15:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51636 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51636@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163621313731186 (code B ref -1); Sat, 06 Nov 2021 15:39:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 Nov 2021 15:38:57 +0000 Received: from localhost ([127.0.0.1]:50178 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mjNmQ-00086r-S9 for submit@debbugs.gnu.org; Sat, 06 Nov 2021 11:38:57 -0400 Received: from lists.gnu.org ([209.51.188.17]:49044) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mjJjW-0007ZZ-0J for submit@debbugs.gnu.org; Sat, 06 Nov 2021 07:19:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:32970) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mjJjV-0001zG-NU for guix-patches@gnu.org; Sat, 06 Nov 2021 07:19:37 -0400 Received: from mail-b.sr.ht ([173.195.146.151]:36728) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mjJjS-0006sG-Fm for guix-patches@gnu.org; Sat, 06 Nov 2021 07:19:37 -0400 Received: from git.sr.ht (unknown [173.195.146.142]) by mail-b.sr.ht (Postfix) with ESMTPSA id 87DB211EF31 for ; Sat, 6 Nov 2021 11:19:31 +0000 (UTC) From: ~rdesfo Date: Sun, 12 Sep 2021 16:24:01 -0400 Message-ID: <163619757140.1814.16950899744167727157-0@git.sr.ht> X-Mailer: git.sr.ht Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Received-SPF: pass client-ip=173.195.146.151; envelope-from=outgoing@sr.ht; helo=mail-b.sr.ht X-Spam_score_int: 36 X-Spam_score: 3.6 X-Spam_bar: +++ X-Spam_report: (3.6 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_96_XX=3.405, FREEMAIL_FORGED_REPLYTO=2.095, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 06 Nov 2021 11:38:53 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Sat, 06 Nov 2021 12:40:14 -0400 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ~rdesfo Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1636216844; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=lb+8S9i4DYYzRkRpSHIZfFt86lCl9lUN94+L/pEquJU=; b=hmbK9N9AjWqfoPMACZ5MrbGdVMzCqUj5svYsYLocYlvP/ABG+c02Fpa8MFJN9l+gjMmMtZ rmxOIW51ONrBBMFWw+UbnfP0fmH/hfwHXuHnyPwFg7ZF0RDNXQFUDtIJlITy+DfJS0wKat eDqOEY3Pb79veFbX20EKQwVwF/gYU4cMdlcZyZACjAhUkuHBQ5l5Qgqg2KQIJbLW/efP5l N8tzG0aZQQzpZHF3BVatE7MNcbMDJy81VkzSEeJ3sxux1qzkHbx/AdkgWuihT8cLz/2hdz bdAmSf/lj6ilRfAVSAw5FSqKH6PC7xMYkDrREjbELDPFPxBnmEbqRivGi59qNg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1636216844; a=rsa-sha256; cv=none; b=uvBD5hWirsJmpE1oS70LQ6f0OIZZXJH+xWFydKgRgmZBPjx6k1VhfJKn/VlL6acPz3JSBP ULh3NelgVEc6WbQJ66YDWFo9OQIwcF3lu5r2LWVd9XB16h/xkmHIyv0P1fc/YuIdGq4iFM s/xt+6xsL5KU5gXaXMLMIXhNHRlkYdVDNh66XHExeqdXVf5Faqx89cJA2/Z9xuq/VJ60Cp k9osTX6oZpUJhshIB2RUpS/c3b4FaedjC4vGDvdSWhhL+usoV1Uyzd78kCgUHc0TnQSM8S DxHIJqaDOmy2IbAqAX+iu35nJMeQOl+1WVM1biLVgXA2VFGIxvHNGagWnfCIng== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=sr.ht (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.31 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=sr.ht (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 057653450D X-Spam-Score: -1.31 X-Migadu-Scanner: scn0.migadu.com X-TUID: rAT549+prYTx From: Ryan Desfosses * gnu/package/messaging.scm (libphonenumber): New variable --- gnu/packages/messaging.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index a7fed957a3..b6a1ba2981 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -2616,6 +2616,39 @@ support for high performance Telegram Bot creation.") (home-page "https://source.puri.sm/Librem5/purple-mm-sms") (license license:gpl2+))) +(define-public libphonenumber + (package + (name "libphonenumber") + (version "8.11.3") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/google/libphonenumber") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "06y3mh1d1mks6d0ynxp3980g712nkf8l5nyljpybsk326b246hg9")))) + (arguments + `(#:tests? #f ; no tests + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'change-directory + (lambda _ (chdir "cpp") #t))))) + (build-system cmake-build-system) + (native-inputs + `(("googletest" ,googletest) + ("pkg-config" ,pkg-config))) + (inputs + `(("boost" ,boost) + ("protobuf" ,protobuf) + ("icu4c" ,icu4c))) + (synopsis "Google's i18n library for parsing and using phone numbers") + (description "Google's i18n library for parsing and using phone numbers") + (home-page "https://github.com/google/libphonenumber") + (license license:asl2.0))) + + (define-public chatty (package (name "chatty") -- 2.32.0