From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wHiLMfKAU2GbPAAAgWs5BA (envelope-from ) for ; Tue, 28 Sep 2021 22:54:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id MLhJLfKAU2EGPQAA1q6Kng (envelope-from ) for ; Tue, 28 Sep 2021 20:54:10 +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 90B6F1882E for ; Tue, 28 Sep 2021 22:54:10 +0200 (CEST) Received: from localhost ([::1]:37214 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mVK77-0005vO-OZ for larch@yhetil.org; Tue, 28 Sep 2021 16:54:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34878) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVK70-0005ub-87 for guix-patches@gnu.org; Tue, 28 Sep 2021 16:54:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35621) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mVK6z-00037j-W8 for guix-patches@gnu.org; Tue, 28 Sep 2021 16:54:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mVK6z-0008Iz-VK for guix-patches@gnu.org; Tue, 28 Sep 2021 16:54:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50873] [PATCH 2/2] gnu: Add pn. Resent-From: Antero Mejr Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 28 Sep 2021 20:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50873 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50873@debbugs.gnu.org Cc: Antero Mejr Received: via spool by 50873-submit@debbugs.gnu.org id=B50873.163286238331851 (code B ref 50873); Tue, 28 Sep 2021 20:54:01 +0000 Received: (at 50873) by debbugs.gnu.org; 28 Sep 2021 20:53:03 +0000 Received: from localhost ([127.0.0.1]:47165 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mVK62-0008He-O6 for submit@debbugs.gnu.org; Tue, 28 Sep 2021 16:53:02 -0400 Received: from mout-p-202.mailbox.org ([80.241.56.172]:41784) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mVK5x-0008Gg-29 for 50873@debbugs.gnu.org; Tue, 28 Sep 2021 16:52:57 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [80.241.60.241]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4HJsCR4NWDzQkBx for <50873@debbugs.gnu.org>; Tue, 28 Sep 2021 22:52:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1632862369; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=kVda2M8rJ3I5ztqRaOiAmPnGhDfJ5CWc7pVyzxJG7iA=; b=elBtQMKwYAlP9EnWH3Vbu0c3qYyOI6h6HllGJa8FGtuqcilLryVwnq+Q8jOkoIMwf+T6AA opuIxBtboFb1p9KAFBVUO1IbrxRTDo4JLX+MYvA5HwY8UnylxkZua6tGdE5tT0oO55yhwu SYPiV6anDwoC0xMrp5GiaWMFUB+UTNbV5dOY+kKWWJW8gcwXJadJyqFLf2dw4Tc4iCZYpH 8zcuvu8WXqTXyVsjkKRR6+13RqLYHwGRLI2pFg7vaOIYQ6P1I9bHhsoZT7mC7PpUq1wdkl gmDPFipDdfC7PnQbO3YH34rYIxFtP1h5xmZDjiMQ5EIXcFmqWCA33o0PkG65/g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mailbox.org; h= content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:date:subject:subject:from:from:received; s= mail20150812; t=1632862368; bh=RzX1DZTPz6nEgVXKLKrxk/8x3L0mLh/rI 9QaxBER1Vg=; b=H2rGLAYl2qSOpQnBtCPnFOy7obYSN3H1/HzikdJqiVa0BvzzC Fql8aaSVeaJrO7RWP9kkfVnr1Wrigfnl7sJbimT3kLt84M/5+Ylg6FZmFI8rjqNM sUkrBwtbxdMSptwrUzx4/gA97/mDEjKtKk1KcH1Xb362V581ELkgFK1rMG0cpZpg 3HqrgU3AM0g5hXxWKVN2zFt5RPEY/q4Ls6BGbWlGGDYIERzjp3kerI04tTGqrCo3 b+0XE+c1b93dEil+dX08i0x+37Um25IRvun1/+9pSQWHExkGef95PO5ucKd1dq0+ sW+z5mf81XcQO0t6W155qyn8ajCDQi9+H2IdA== X-Virus-Scanned: amavisd-new at heinlein-support.de Date: Tue, 28 Sep 2021 16:52:27 -0400 Message-Id: <20210928205227.25833-3-antero@mailbox.org> In-Reply-To: <20210928205227.25833-1-antero@mailbox.org> References: <20210928205227.25833-1-antero@mailbox.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: A20CF881 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Antero Mejr X-ACL-Warn: , Antero Mejr via Guix-patches From: Antero Mejr via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1632862450; 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: content-transfer-encoding:content-transfer-encoding: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=kVda2M8rJ3I5ztqRaOiAmPnGhDfJ5CWc7pVyzxJG7iA=; b=hCmCzRfmu7oATb3rAr+lm2uOrJj5Xw96gspIsnkH7UiqrHrXld1iTewVuIE3TRQ0MQ/N0m b6zBTUBlpSXJSEyRMFRbcZK3QehxBUNYu6gOtzIKwl9wfAkUgsPhAbwi3pPb3nKOD49NRS M0nznMYoK5VnNVELRtgzhnewDgBBWzjQzKoLrKJQcaUmupzefvYYgVgpvwta0ynnUaWRLY xKk7Ja5mruOLx3Xfu4I0PkOmSI7RQYk5YYkJXqZWzOgf7vZPEN780LHB4EvqDh/59bwjZE WWzyPBZNpz+Vlwg0VVPxyRkPuLzDI0DDbYjjLorr1K4zAn+qLMSbh7FeIlHkrQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632862450; a=rsa-sha256; cv=none; b=l72hvVke/GF7ehZZPP+IFPAwt7wO7duzuZTIbuan2pkrNBPeR2K9TrcXRRlNVHqx7Cmsjq riQcJyIalDhZAHK1osNzpqZARr/ewRw9c4K/HDv7oNGuhFRoJLgyDOxWDwl+tIFEiO6l/6 0ekqYqLZoSiDs1jNwKon2CA03bZGSXJDqH9SSOJcpHajZAZScgKQXlRqQjIWPvTknWAk0V 0P5Gu+QiJkduHUfxmEun+psQP0KTpjxVyRvoxFFUHLUlpzhzDo6VyqSuSkiaCbJlE0ZfpM 1RJfeH/z10s6dHnlLEcOakrv73vfZQTNiimRxk9hAYo8xzHy/BkEbnFTRCN+Pg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=elBtQMKw; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=H2rGLAYl; dmarc=pass (policy=none) header.from=gnu.org; 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: 2.60 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=elBtQMKw; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=H2rGLAYl; dmarc=pass (policy=none) header.from=gnu.org; 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: 90B6F1882E X-Spam-Score: 2.60 X-Migadu-Scanner: scn0.migadu.com X-TUID: PxTEgDkhMBjy * gnu/packages/telephony.scm (pn): New variable. --- gnu/packages/telephony.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/telephony.scm b/gnu/packages/telephony.scm index 50b5790ae3..d30c8aa661 100644 --- a/gnu/packages/telephony.scm +++ b/gnu/packages/telephony.scm @@ -945,3 +945,38 @@ telephony functionality into custom Telegram clients.") library for parsing, formatting, and validating international phone numbers.") (license license:asl2.0))) +(define-public pn + (package + (name "pn") + (version "0.9.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Orange-OpenSource/pn") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1lvzb0yixj7wmmqzsri20k9nn3gf06j0yjvmg2mi1zihywq7s4dx")))) + (build-system cmake-build-system) + (arguments + `(#:tests? #f ; no tests + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'sub-bin-path + (lambda _ + (substitute* "CMakeLists.txt" (("DESTINATION \\$\\{AWKLIBPATH\\}") + "DESTINATION bin"))))))) + (inputs + `(("libphonenumber" ,libphonenumber) + ("icu4c" ,icu4c) + ("protobuf" ,protobuf) + ("gawk" ,gawk))) + (home-page "https://github.com/Orange-OpenSource/pn") + (synopsis "Command-line validation tool for phone numbers") + (description + "@code{pn} provides a command line tool that allows users to operate on +phone numbers (get validity information, reformat them, or extract +numbers from a text snippet), using @code{libphonenumber}.") + (license license:asl2.0))) -- 2.30.2