me
/
guix
Archived
1
0
Fork 0

gnu: emacs-telega-server: Update to 0.8.03.

* gnu/packages/emacs-xyz.scm (emacs-telega-server): Update to 0.8.03.
Nicolas Goaziou 2022-02-18 11:50:30 +01:00
parent 5c06cca6a8
commit e3327529f6
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
1 changed files with 45 additions and 47 deletions

View File

@ -27575,54 +27575,52 @@ other @code{helm-type-file} sources such as @code{helm-locate}.")
(license license:gpl3+))) (license license:gpl3+)))
(define-public emacs-telega-server (define-public emacs-telega-server
(let ((commit "5739794d2d0c8a4e7b77c2e37a097e19f80ac9f0") (package
(revision "0")) (name "emacs-telega-server")
(package (version "0.8.03")
(name "emacs-telega-server") (source
(version (git-version "0.8.2" revision commit)) (origin
(source (method git-fetch)
(origin (uri (git-reference
(method git-fetch) (url "https://github.com/zevlg/telega.el")
(uri (git-reference (commit (string-append "v" version))))
(url "https://github.com/zevlg/telega.el") (sha256
(commit commit))) (base32 "1ffy17i5fi1bw5r5m6x372c52hc1k83wxdxvi4z0hixyklj48nsv"))
(sha256 (file-name (git-file-name "emacs-telega" version))
(base32 "1am0b2bjjkw7zd0yq39v015a08dcbk43j4d4h8y2q8hj53ryfk5a")) (patches
(file-name (git-file-name "emacs-telega" version)) (search-patches "emacs-telega-path-placeholder.patch"
(patches "emacs-telega-test-env.patch"))))
(search-patches "emacs-telega-path-placeholder.patch" (build-system gnu-build-system)
"emacs-telega-test-env.patch")))) (arguments
(build-system gnu-build-system) (list
(arguments #:make-flags
(list #~(list (string-append "CC=" #$(cc-for-target))
#:make-flags (string-append "INSTALL_PREFIX=" #$output "/bin"))
#~(list (string-append "CC=" #$(cc-for-target)) #:phases
(string-append "INSTALL_PREFIX=" #$output "/bin")) #~(modify-phases %standard-phases
#:phases (add-before 'configure 'enter-subdirectory
#~(modify-phases %standard-phases (lambda _ (chdir "server")))
(add-before 'configure 'enter-subdirectory (replace 'configure
(lambda _ (chdir "server"))) (lambda _
(replace 'configure (substitute* "run_tests.py"
(lambda _ (("^(TELEGA_SERVER = ).*$" _all prefix)
(substitute* "run_tests.py" (string-append prefix
(("^(TELEGA_SERVER = ).*$" _all prefix) "\"" #$output "/bin/telega-server\"\n")))))
(string-append prefix (delete 'check)
"\"" #$output "/bin/telega-server\"\n"))))) (add-after 'install 'check
(delete 'check) (assoc-ref %standard-phases 'check))
(add-after 'install 'check (add-before 'install-license-files 'leave-subdirectory
(assoc-ref %standard-phases 'check)) (lambda _ (chdir ".."))))
(add-before 'install-license-files 'leave-subdirectory #:test-target "test"))
(lambda _ (chdir "..")))) (inputs
#:test-target "test")) (list tdlib libappindicator))
(inputs (native-inputs
(list tdlib libappindicator)) (list python pkg-config))
(native-inputs (home-page "https://zevlg.github.io/telega.el/")
(list python pkg-config)) (synopsis "Server process of Telega")
(home-page "https://zevlg.github.io/telega.el/") (description "Telega-server is helper program to interact with Telegram
(synopsis "Server process of Telega")
(description "Telega-server is helper program to interact with Telegram
service, and connect it with Emacs via inter-process communication.") service, and connect it with Emacs via inter-process communication.")
(license license:gpl3+)))) (license license:gpl3+)))
(define-public emacs-telega (define-public emacs-telega
(package (package