diff options
| author | Aleksandr Vityazev <avityazev@posteo.org> | 2022-01-19 11:30:24 +0000 |
|---|---|---|
| committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2022-01-19 14:17:04 +0100 |
| commit | 65424e988d8a0f55385b71eb5c064163096fd213 (patch) | |
| tree | 0ce9d72c0c9706e115ba232cb56632fa3c031f31 /gnu | |
| parent | b029e5fefcc81d33165db2294cad2eb931cddfa7 (diff) | |
gnu: tdlib: Update to 1.8.0.
* gnu/packages/emacs-xyz.scm (tdlib): Update to 1.8.0.
[arguments]<#:phases>: Remove trailing #T.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/messaging.scm | 71 |
1 files changed, 35 insertions, 36 deletions
diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index 2fe0d35a10d..55d71d9398e 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm | |||
| @@ -31,6 +31,7 @@ | |||
| 31 | ;;; Copyright © 2021 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 31 | ;;; Copyright © 2021 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> |
| 32 | ;;; Copyright © 2021 Vinicius Monego <monego@posteo.net> | 32 | ;;; Copyright © 2021 Vinicius Monego <monego@posteo.net> |
| 33 | ;;; Copyright © 2021 jgart <jgart@dismail.de> | 33 | ;;; Copyright © 2021 jgart <jgart@dismail.de> |
| 34 | ;;; Copyright © 2022 Aleksandr Vityazev <avityazev@posteo.org> | ||
| 34 | ;;; | 35 | ;;; |
| 35 | ;;; This file is part of GNU Guix. | 36 | ;;; This file is part of GNU Guix. |
| 36 | ;;; | 37 | ;;; |
| @@ -2593,45 +2594,43 @@ replacement.") | |||
| 2593 | (license license:gpl2+))) | 2594 | (license license:gpl2+))) |
| 2594 | 2595 | ||
| 2595 | (define-public tdlib | 2596 | (define-public tdlib |
| 2596 | (let ((commit "34ba9b21f365b8d3bdc36808c2d665ca5cd128f6")) | 2597 | (package |
| 2597 | (package | 2598 | (name "tdlib") |
| 2598 | (name "tdlib") | 2599 | (version "1.8.0") |
| 2599 | (version "1.7.10") | 2600 | (source |
| 2600 | (source | 2601 | (origin |
| 2601 | (origin | 2602 | (method git-fetch) |
| 2602 | (method git-fetch) | 2603 | (uri (git-reference |
| 2603 | (uri (git-reference | 2604 | (url "https://github.com/tdlib/td") |
| 2604 | (url "https://github.com/tdlib/td") | 2605 | (commit (string-append "v" version)))) |
| 2605 | (commit commit))) | 2606 | (sha256 |
| 2606 | (sha256 | 2607 | (base32 "19psqpyh9a2kzfdhgqkirpif4x8pzy89phvi59dq155y30a3661q")) |
| 2607 | (base32 "06fbdh1jypz0p1rf6xbpias4kx7xplq9xjd9vz177vwj9icq3wki")) | 2608 | (file-name (git-file-name name version)))) |
| 2608 | (file-name (git-file-name name version)))) | 2609 | (build-system cmake-build-system) |
| 2609 | (build-system cmake-build-system) | 2610 | (arguments |
| 2610 | (arguments | 2611 | `(#:tests? #t |
| 2611 | `(#:tests? #t | 2612 | #:configure-flags |
| 2612 | #:configure-flags | 2613 | (list "-DCMAKE_BUILD_TYPE=Release" |
| 2613 | (list "-DCMAKE_BUILD_TYPE=Release" | 2614 | "-DTD_ENABLE_LTO=OFF") ; FIXME: Get LTO to work. |
| 2614 | "-DTD_ENABLE_LTO=OFF") ; FIXME: Get LTO to work. | 2615 | #:phases |
| 2615 | #:phases | 2616 | (modify-phases %standard-phases |
| 2616 | (modify-phases %standard-phases | 2617 | (add-after 'unpack 'remove-failing-tests |
| 2617 | (add-after 'unpack 'remove-failing-tests | 2618 | (lambda _ |
| 2618 | (lambda _ | 2619 | (substitute* "test/CMakeLists.txt" |
| 2619 | (substitute* "test/CMakeLists.txt" | 2620 | ;; The test cases are compiled into a distinct binary |
| 2620 | ;; The test cases are compiled into a distinct binary | 2621 | ;; which uses mtproto.cpp to attempt to connect to |
| 2621 | ;; which uses mtproto.cpp to attempt to connect to | 2622 | ;; a remote server. Removing this file from the sources |
| 2622 | ;; a remote server. Removing this file from the sources | 2623 | ;; list disables those specific test cases. |
| 2623 | ;; list disables those specific test cases. | 2624 | (("\\$\\{CMAKE_CURRENT_SOURCE_DIR\\}/mtproto.cpp") ""))))))) |
| 2624 | (("\\$\\{CMAKE_CURRENT_SOURCE_DIR\\}/mtproto.cpp") "")) | 2625 | (native-inputs |
| 2625 | #t))))) | 2626 | (list gperf openssl zlib php doxygen)) |
| 2626 | (native-inputs | 2627 | (synopsis "Cross-platform library for building Telegram clients") |
| 2627 | (list gperf openssl zlib php doxygen)) | 2628 | (description "Tdlib is a cross-platform library for creating custom |
| 2628 | (synopsis "Cross-platform library for building Telegram clients") | ||
| 2629 | (description "Tdlib is a cross-platform library for creating custom | ||
| 2630 | Telegram clients following the official Telegram API. It can be easily used | 2629 | Telegram clients following the official Telegram API. It can be easily used |
| 2631 | from almost any programming language with a C-FFI and features first-class | 2630 | from almost any programming language with a C-FFI and features first-class |
| 2632 | support for high performance Telegram Bot creation.") | 2631 | support for high performance Telegram Bot creation.") |
| 2633 | (home-page "https://core.telegram.org/tdlib") | 2632 | (home-page "https://core.telegram.org/tdlib") |
| 2634 | (license license:boost1.0)))) | 2633 | (license license:boost1.0))) |
| 2635 | 2634 | ||
| 2636 | (define-public purple-mm-sms | 2635 | (define-public purple-mm-sms |
| 2637 | (package | 2636 | (package |
