summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm19
1 files changed, 16 insertions, 3 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 8358c549765..39e921fce06 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -38720,7 +38720,7 @@ You can set the following @code{tcolor} arguments:
38720(define-public python-telethon 38720(define-public python-telethon
38721 (package 38721 (package
38722 (name "python-telethon") 38722 (name "python-telethon")
38723 (version "1.42.0") 38723 (version "1.44.0")
38724 (source 38724 (source
38725 (origin 38725 (origin
38726 (method git-fetch) 38726 (method git-fetch)
@@ -38729,10 +38729,23 @@ You can set the following @code{tcolor} arguments:
38729 (commit (string-append "v" version)))) 38729 (commit (string-append "v" version))))
38730 (file-name (git-file-name name version)) 38730 (file-name (git-file-name name version))
38731 (sha256 38731 (sha256
38732 (base32 "16xp5cwfv1ly25zcnnn0jgrmzpsl3yqzf92dfbnpyiy64j8wkh9l")))) 38732 (base32 "1y1bzna7gqs6ck4jmh2spm7s8frw0qs6p52v9ar6qbbk1h7yacip"))))
38733 (build-system pyproject-build-system) 38733 (build-system pyproject-build-system)
38734 (arguments
38735 (list
38736 #:phases
38737 #~(modify-phases %standard-phases
38738 (add-after 'build 'generate-tl-code
38739 (lambda _
38740 ;; The custom hatchling build hook (hatch_build.py) generates
38741 ;; telethon/tl/{types,functions}.py only inside hatchling's
38742 ;; isolated build directory, but deletes them again.
38743 ;; Regenerate the same code here too for tests; see
38744 ;; readthedocs/developing/project-structure.rst.
38745 (invoke "python3" "setup.py" "gen"))))))
38734 (native-inputs 38746 (native-inputs
38735 (list python-pytest 38747 (list python-hatchling
38748 python-pytest
38736 python-pytest-asyncio 38749 python-pytest-asyncio
38737 python-pytest-trio 38750 python-pytest-trio
38738 python-setuptools)) 38751 python-setuptools))