mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 06:06:53 -05:00
gnu: tdlib: Update to 1.7.0.
* gnu/packages/messaging.scm (tdlib): Update to 1.7.0.
This commit is contained in:
parent
3526028223
commit
71cb686a02
1 changed files with 39 additions and 42 deletions
|
@ -2287,51 +2287,48 @@ (define-public telegram-purple
|
||||||
(license license:gpl2+)))
|
(license license:gpl2+)))
|
||||||
|
|
||||||
(define-public tdlib
|
(define-public tdlib
|
||||||
(let ((commit "f45d80fe16f99d112d545b7cd74ce46342fe3437")
|
(package
|
||||||
(revision "0")
|
(name "tdlib")
|
||||||
(version "1.6.6"))
|
(version "1.7.0")
|
||||||
(package
|
(source (origin
|
||||||
(name "tdlib")
|
(method git-fetch)
|
||||||
(version (git-version version revision commit))
|
(uri (git-reference
|
||||||
(source (origin
|
(url "https://github.com/tdlib/td")
|
||||||
(method git-fetch)
|
(commit (string-append "v" version))))
|
||||||
(uri (git-reference
|
(sha256
|
||||||
(url "https://github.com/tdlib/td")
|
(base32
|
||||||
(commit commit)))
|
"0dfir57ljcn98mkg061c5642qb93wh2lm1n4nngpl3na9vvfk75i"))
|
||||||
(sha256
|
(file-name (git-file-name name version))))
|
||||||
(base32
|
(build-system cmake-build-system)
|
||||||
"1q8zw26mqhpdzvqbgc7fmn8rzwm5amb8m7s6impin4342wj7h6nr"))
|
(arguments
|
||||||
(file-name (git-file-name name version))))
|
`(#:tests? #t
|
||||||
(build-system cmake-build-system)
|
#:configure-flags
|
||||||
(arguments
|
(list "-DCMAKE_BUILD_TYPE=Release"
|
||||||
`(#:tests? #t
|
"-DTD_ENABLE_LTO=OFF") ; FIXME: Get LTO to work.
|
||||||
#:configure-flags
|
#:phases
|
||||||
(list "-DCMAKE_BUILD_TYPE=Release"
|
(modify-phases %standard-phases
|
||||||
"-DTD_ENABLE_LTO=OFF") ; FIXME: Get LTO to work.
|
(add-after 'unpack 'remove-failing-tests
|
||||||
#:phases
|
(lambda _
|
||||||
(modify-phases %standard-phases
|
(substitute* "test/CMakeLists.txt"
|
||||||
(add-after 'unpack 'remove-failing-tests
|
;; The test cases are compiled into a distinct binary
|
||||||
(lambda _
|
;; which uses mtproto.cpp to attempt to connect to
|
||||||
(substitute* "test/CMakeLists.txt"
|
;; a remote server. Removing this file from the sources
|
||||||
;; The test cases are compiled into a distinct binary
|
;; list disables those specific test cases.
|
||||||
;; which uses mtproto.cpp to attempt to connect to
|
(("\\$\\{CMAKE_CURRENT_SOURCE_DIR\\}/mtproto.cpp") ""))
|
||||||
;; a remote server. Removing this file from the sources
|
#t)))))
|
||||||
;; list disables those specific test cases.
|
(native-inputs
|
||||||
(("\\$\\{CMAKE_CURRENT_SOURCE_DIR\\}/mtproto.cpp") ""))
|
`(("gperf" ,gperf)
|
||||||
#t)))))
|
("openssl" ,openssl)
|
||||||
(native-inputs
|
("zlib" ,zlib)
|
||||||
`(("gperf" ,gperf)
|
("php" ,php)
|
||||||
("openssl" ,openssl)
|
("doxygen" ,doxygen)))
|
||||||
("zlib" ,zlib)
|
(synopsis "Cross-platform library for building Telegram clients")
|
||||||
("php" ,php)
|
(description "Tdlib is a cross-platform library for creating custom
|
||||||
("doxygen" ,doxygen)))
|
|
||||||
(synopsis "Cross-platform library for building Telegram clients")
|
|
||||||
(description "Tdlib is a cross-platform library for creating custom
|
|
||||||
Telegram clients following the official Telegram API. It can be easily used
|
Telegram clients following the official Telegram API. It can be easily used
|
||||||
from almost any programming language with a C-FFI and features first-class
|
from almost any programming language with a C-FFI and features first-class
|
||||||
support for high performance Telegram Bot creation.")
|
support for high performance Telegram Bot creation.")
|
||||||
(home-page "https://core.telegram.org/tdlib")
|
(home-page "https://core.telegram.org/tdlib")
|
||||||
(license license:boost1.0))))
|
(license license:boost1.0)))
|
||||||
|
|
||||||
(define-public purple-mm-sms
|
(define-public purple-mm-sms
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Reference in a new issue