Subject: [bug#58003] [PATCH 1/2] gnu: Add tdlib-1.8.0.

From: [email-masked]
Date: Thu, 22 Sep 2022 14:39:13 +0200

From: Giovanni Biscuolo <[email-masked]>

This is needed for emacs-telega 0.8.3

* gnu/packages/messaging.scm (tdlib-1.8.0): New variable.
---
 gnu/packages/messaging.scm | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index b5600d4baf..60689c1ae6 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -36,6 +36,7 @@
 ;;; Copyright © 2022 Jai Vetrivelan <[email-masked]>
 ;;; Copyright © 2022 Jack Hill <[email-masked]>
 ;;; Copyright © 2022 Maxim Cournoyer <[email-masked]>
+;;; Copyright © 2022 Giovanni Biscuolo <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2685,6 +2686,20 @@ (define-public tdlib
     (home-page "https://core.telegram.org/tdlib")
     (license license:boost1.0)))
 
+(define-public tdlib-1.8.0
+  (package
+    (inherit tdlib)
+    (name "tdlib-1.8.0")
+    (version "1.8.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/tdlib/td")
+                    (commit (string-append "v" version))))
+              (sha256
+               (base32
+                "19psqpyh9a2kzfdhgqkirpif4x8pzy89phvi59dq155y30a3661q"))))))
+
 (define-public purple-mm-sms
   (package
     (name "purple-mm-sms")
-- 
2.37.2