From patchwork Thu Aug 11 19:11:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antero Mejr X-Patchwork-Id: 41565 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id B2F0827BBEA; Thu, 11 Aug 2022 20:12:58 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 75B7527BBE9 for ; Thu, 11 Aug 2022 20:12:58 +0100 (BST) Received: from localhost ([::1]:44742 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oMDc1-0007KR-Jr for patchwork@mira.cbaines.net; Thu, 11 Aug 2022 15:12:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34934) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMDb8-0006Qb-NV for guix-patches@gnu.org; Thu, 11 Aug 2022 15:12:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37048) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oMDb8-0001WI-E6 for guix-patches@gnu.org; Thu, 11 Aug 2022 15:12:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oMDb8-0007RZ-9H for guix-patches@gnu.org; Thu, 11 Aug 2022 15:12:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50796] [PATCH] gnu: Add pn. References: <20210925032815.68194-1-antero@mailbox.org> In-Reply-To: <20210925032815.68194-1-antero@mailbox.org> Resent-From: Antero Mejr Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Aug 2022 19:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50796 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50796@debbugs.gnu.org Cc: Antero Mejr Received: via spool by 50796-submit@debbugs.gnu.org id=B50796.166024509428574 (code B ref 50796); Thu, 11 Aug 2022 19:12:02 +0000 Received: (at 50796) by debbugs.gnu.org; 11 Aug 2022 19:11:34 +0000 Received: from localhost ([127.0.0.1]:55029 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMDaf-0007Qo-MZ for submit@debbugs.gnu.org; Thu, 11 Aug 2022 15:11:33 -0400 Received: from mout-p-101.mailbox.org ([80.241.56.151]:34258) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMDac-0007QZ-IT for 50796@debbugs.gnu.org; Thu, 11 Aug 2022 15:11:32 -0400 Received: from smtp202.mailbox.org (smtp202.mailbox.org [10.196.197.202]) (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-101.mailbox.org (Postfix) with ESMTPS id 4M3by03DHjz9sSR for <50796@debbugs.gnu.org>; Thu, 11 Aug 2022 21:11:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1660245080; 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; bh=/BsnuCxSl+AvXlitRdaW9nIN/XEchFHfYAiIHUPFUcA=; b=eIwGTT2v5QMkrRdZRjy9K2Ew94AsEHLGNyLtnF7dhIcfGNtMe8QdPlr20W6XdM5jbkZAuX G5yDSp9igVer9iQI+ftPVj+lmv08iW/hqfduu/FfWjq9g4M6juz5dfxIiRsGvtNiI3gnHD IdLOAcM70sJwVFHV/1yzFxuN5yEK24nkNAtkgJkZM//BEfAd/iFMFDkkKAbicqXEsnxzaX ZGQORIqrzcXldlp0PS8dSDXR+wbNl3Gtx4MPJk5Ec91eW6vfA+8kYCERMKeSZipX3iw3oD 0t4JGvWJQ6Vrck2jMdeKdLkja5Aa3JGL4lMcttC1WdGsHM+5zTKUxdL8jfXpdg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1660245076; 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; bh=/BsnuCxSl+AvXlitRdaW9nIN/XEchFHfYAiIHUPFUcA=; b=L4TFzoB9xuhKndGGTFb9U6n3/McpYbJMoNIeMBefh5x4B+dQSskhdh9wXr6V8HVBtxgC/S omJNG0Bc4srjDaYv66LlaO7E4rN1oec7pJcmYXsx/cgtRzOA1Z34KWaYHJbchgQ77UzCCd vapjG69ysaNXZ4jYpL9uVg4hRxsOGI4P7339f0tiGf2qX1c+gTjjlYEnSzlF5/h6RS1dEx o08AqGxfGyphALsyUc6CLicl6X/p+ESinDMMDB0B8khlydtzdWPgnnfjiyyAct/9IaRboe ofW1y4aIrXtg6t1NftF9+drzxeVJTfTYRlXgEdwBUEk5+IyObTGfMA96gCl7Ng== Date: Thu, 11 Aug 2022 15:11:05 -0400 Message-Id: <20220811191105.958967-1-antero@mailbox.org> MIME-Version: 1.0 X-MBO-RS-ID: 5863d7fdcc86a1ede7e X-MBO-RS-META: cn78b9w3bx64q49benoinjq454co6jwk 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Antero Mejr X-ACL-Warn: , Antero Mejr via Guix-patches X-Patchwork-Original-From: Antero Mejr via Guix-patches via From: Antero Mejr X-getmail-retrieved-from-mailbox: Patches * gnu/packages/messaging.scm (pn): New variable. --- Updated with new gexps and retested. gnu/packages/messaging.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index 47798c3586..704feb1177 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -3446,4 +3446,35 @@ (define-public python-harmony (home-page "https://github.com/taylordotfish/harmony") (license license:gpl3+))) +(define-public pn + (package + (name "pn") + (version "0.9.0") + (home-page "https://github.com/Orange-OpenSource/pn") + (source (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1lvzb0yixj7wmmqzsri20k9nn3gf06j0yjvmg2mi1zihywq7s4dx")))) + (build-system cmake-build-system) + (arguments + (list #:tests? #f ;no tests + #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'sub-bin-path + (lambda _ + (substitute* "CMakeLists.txt" + (("DESTINATION \\$\\{AWKLIBPATH\\}") + "DESTINATION bin"))))))) + (inputs (list libphonenumber icu4c protobuf)) + (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))) + ;;; messaging.scm ends here