From: Antero Mejr via Guix-patches via <guix-patches@gnu.org>
To: 50796@debbugs.gnu.org
Cc: Antero Mejr <antero@mailbox.org>
Subject: [bug#50796] [PATCH] gnu: Add pn.
Date: Thu, 11 Aug 2022 15:11:05 -0400 [thread overview]
Message-ID: <20220811191105.958967-1-antero@mailbox.org> (raw)
In-Reply-To: <20210925032815.68194-1-antero@mailbox.org>
* 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
--
2.37.1
next prev parent reply other threads:[~2022-08-11 19:12 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-25 3:28 [bug#50796] [PATCH] gnu: Add pn Antero Mejr via Guix-patches via
2021-09-28 18:59 ` [bug#50873] " Xinglu Chen
2021-09-28 20:56 ` [bug#50796] [PATCH 0/2] " Antero Mejr via Guix-patches via
2021-09-28 20:56 ` [bug#50796] [PATCH 1/2] gnu: Add libphonenumber Antero Mejr via Guix-patches via
2021-09-29 11:42 ` Xinglu Chen
2022-01-17 10:06 ` Nicolas Goaziou
2021-09-28 20:56 ` [bug#50796] [PATCH 2/2] gnu: Add pn Antero Mejr via Guix-patches via
2022-08-11 19:11 ` Antero Mejr via Guix-patches via [this message]
2022-08-12 14:39 ` bug#50796: [PATCH] " Efraim Flashner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220811191105.958967-1-antero@mailbox.org \
--to=guix-patches@gnu.org \
--cc=50796@debbugs.gnu.org \
--cc=antero@mailbox.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).