From: ~rdesfo <rdesfo@git.sr.ht>
To: 51640@debbugs.gnu.org
Cc: rdes@protonmail.com
Subject: [bug#51640] [PATCH guix 1/1] gnu: Add libphonenumber
Date: Sun, 12 Sep 2021 16:24:01 -0400 [thread overview]
Message-ID: <163621595987.14225.8793005658266325764-1@git.sr.ht> (raw)
In-Reply-To: <163621595987.14225.8793005658266325764-0@git.sr.ht>
From: Ryan Desfosses <rdes@protonmail.com>
* 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
next prev parent reply other threads:[~2021-11-06 16:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-06 16:25 [bug#51640] [PATCH guix 0/1] [PATCH] Adds libphonenumber ~rdesfo
2021-09-12 20:24 ` ~rdesfo [this message]
2021-12-04 22:03 ` bug#51640: " Ludovic Courtès
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=163621595987.14225.8793005658266325764-1@git.sr.ht \
--to=rdesfo@git.sr.ht \
--cc=51640@debbugs.gnu.org \
--cc=rdes@protonmail.com \
--cc=rdesfo@protonmail.com \
/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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.