From e05673bcbeb8fdf852a54454305b048ec15adeac Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sat, 27 Nov 2021 00:44:40 +0100 Subject: gnu: hangups: Update to 0.4.15. * gnu/packages/messaging.scm (hangups): Update to 0.4.15. [arguments]: Don't explicitly return #t from phases. --- gnu/packages/messaging.scm | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'gnu/packages/messaging.scm') diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index 6a84f43bad..18c71b6ab3 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -2514,13 +2514,13 @@ (define-public quaternion (define-public hangups (package (name "hangups") - (version "0.4.14") + (version "0.4.15") (source (origin (method url-fetch) (uri (pypi-uri "hangups" version)) (sha256 - (base32 "15qbbafcrdkx73xz9y30qa3d8nj6mgrp2m41749i5nn1qywmikk8")))) + (base32 "1fa58m6zgvsawp2h1maj82wn6lpdllhbficmcjm78n5bg1hv7f4m")))) (build-system python-build-system) (arguments `(#:phases @@ -2530,13 +2530,11 @@ (define-public hangups (lambda _ (substitute* "setup.py" (("==") ">=") - ((",<.*'") "'")) - #t)) + ((",<.*'") "'")))) (replace 'check (lambda* (#:key tests? #:allow-other-keys) (when tests? - (invoke "pytest" "hangups")) - #t))))) + (invoke "pytest" "hangups"))))))) (propagated-inputs `(("python-aiohttp" ,python-aiohttp) ("python-appdirs" ,python-appdirs) -- cgit v1.2.3 From 20d525a842ca5d22edc4e2aa4a5d8225c2f5306c Mon Sep 17 00:00:00 2001 From: Ryan Desfosses Date: Sun, 12 Sep 2021 16:24:01 -0400 Subject: gnu: Add libphonenumber MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/package/messaging.scm (libphonenumber): New variable Co-authored-by: Ludovic Courtès --- gnu/packages/messaging.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) (limited to 'gnu/packages/messaging.scm') diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index 18c71b6ab3..2e3afb510e 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -2777,6 +2777,41 @@ (define-public purple-lurch (home-page "https://github.com/gkdr/lurch") (license license:gpl3+))) +(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 + `(#:test-target "tests" + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'change-directory + (lambda _ (chdir "cpp")))))) + (build-system cmake-build-system) + (native-inputs + `(("googletest" ,googletest) + ("pkg-config" ,pkg-config))) + (inputs + `(("boost" ,boost) + ("protobuf" ,protobuf) + ("icu4c" ,icu4c))) + (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))) + + (define-public chatty (package (name "chatty") -- cgit v1.2.3