diff options
author | Danny Milosavljevic <dannym@friendly-machines.com> | 2025-06-19 23:49:16 +0200 |
---|---|---|
committer | Danny Milosavljevic <dannym@friendly-machines.com> | 2025-06-23 21:56:11 +0200 |
commit | 6f71a2a3a089038c18c9543543bc71030a2285af (patch) | |
tree | 36cd32050ad460bb4e674b3de5166e0c88d5cdeb | |
parent | 43de32782fa5e01a8c1c6c0391382748678fbc86 (diff) |
gnu: emacs-aio: Source from maintained fork.
The upstream emacs-aio repository is unmaintained with numerous open
issues. Notably, native compilation is broken on Emacs 30. Change the
package source to a fork merging several open PRs and fixing native
compilation.
* gnu/packages/emacs-xyz.scm (emacs-aio)[source]: Switch to recent fork.
Change-Id: Idc6a344595690bf7688c7571abd67b1c5a81faa0
-rw-r--r-- | gnu/packages/emacs-xyz.scm | 51 |
1 files changed, 28 insertions, 23 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 0ce6443461..81c4083ded 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -5395,32 +5395,37 @@ rather than the contents of files.") (license license:gpl3+))) (define-public emacs-aio - (package - (name "emacs-aio") - (version "1.0") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/skeeto/emacs-aio") - (commit version))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1y7j10j74r3fy0rcb8g3cm9nlls34qb0pz9xkia7psp77syrlz54")))) - (build-system emacs-build-system) - (arguments - `(#:test-command '("emacs" "--batch" - "-l" "aio-test.el" - "-f" "ert-run-tests-batch-and-exit"))) - (propagated-inputs - (list emacs-elfeed emacs-skewer-mode)) - (home-page "https://github.com/skeeto/emacs-aio") - (synopsis "Async/Await for Emacs Lisp") - (description "@code{aio} is to Emacs Lisp as @code{asyncio} is to Python. + (let ((revision "0") + (commit "289c1e9530b59b4e2fd88f87f303547b23f2a3e3")) + (package + (name "emacs-aio") + (version (git-version "1.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + ;; Switched from <https://github.com/skeeto/emacs-aio> + ;; since <https://github.com/skeeto/emacs-aio/issues/31> + ;; is open since Jan 1 2025 with no merge. + (url "https://github.com/kiennq/emacs-aio") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1jaq3xbk69ki10bfdphl4ac2hsnvr56bg4fcr0si8q31zgar7xzj")))) + (build-system emacs-build-system) + (arguments + `(#:test-command '("emacs" "--batch" + "-l" "aio-test.el" + "-f" "ert-run-tests-batch-and-exit"))) + (propagated-inputs + (list emacs-elfeed emacs-skewer-mode)) + (home-page "https://github.com/skeeto/emacs-aio") + (synopsis "Async/Await for Emacs Lisp") + (description "@code{aio} is to Emacs Lisp as @code{asyncio} is to Python. This package builds upon Emacs generators to provide functions that pause while they wait on asynchronous events. They do not block any thread while paused.") - (license license:unlicense))) + (license license:unlicense)))) (define-public emacs-async (package |