guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#51640: [PATCH guix 0/1] [PATCH] Adds libphonenumber


From: Ludovic Courtès
Subject: bug#51640: [PATCH guix 0/1] [PATCH] Adds libphonenumber
Date: Sat, 04 Dec 2021 23:03:31 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)

Hi,

~rdesfo <rdesfo@git.sr.ht> skribis:

> From: Ryan Desfosses <rdes@protonmail.com>
>
> * gnu/package/messaging.scm (libphonenumber): New variable

Applied with the changes below, thanks!

Ludo’.

diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index 93f469a968..2e3afb510e 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -2791,11 +2791,11 @@ (define-public libphonenumber
                (base32
                 "06y3mh1d1mks6d0ynxp3980g712nkf8l5nyljpybsk326b246hg9"))))
    (arguments
-    `(#:tests? #f ; no tests
+    `(#:test-target "tests"
       #:phases
       (modify-phases %standard-phases
         (add-after 'unpack 'change-directory
-          (lambda _ (chdir "cpp") #t)))))
+          (lambda _ (chdir "cpp"))))))
    (build-system cmake-build-system)
    (native-inputs
     `(("googletest" ,googletest)
@@ -2804,8 +2804,10 @@ (define-public libphonenumber
     `(("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")
+   (synopsis "Library for parsing and using phone numbers")
+   (description
+    "This package provides a C++ library for parsing, formatting, and
+validating international phone numbers.")
    (home-page "https://github.com/google/libphonenumber";)
    (license license:asl2.0)))
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]