Subject: [PATCH 1/2] gnu: Add emacs-0x0.

From: Thanos Apollo <[email-masked]>
Date: Mon, 15 Jul 2024 13:08:13 +0300

* gnu/packages/emacs-xyz.scm (emacs-0x0): New variable.

Change-Id: I4d76a3abc33537b788eb79aa2e4990d22335b7be
---
 gnu/packages/emacs-xyz.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 99e1d4c65c..95566b777b 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -294,6 +294,29 @@ (define-module (gnu packages emacs-xyz)
 ;;; Emacs hacking.
 ;;;
 
+(define-public emacs-0x0
+  (let ((commit "04f95142b25d8bb701f239539176df6617dcd982")
+        (revision "0"))
+    (package
+      (name "emacs-0x0")
+      (version (git-version "1.0.1" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://git.sr.ht/~willvaughn/emacs-0x0")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0vj9vrfkgm7plp5mvq22fm9sln11j9763g3wd2w6c82rlsk6dhva"))))
+      (build-system emacs-build-system)
+      (home-page "https://github.com/emacsorphanage/ac-ispell")
+      (synopsis "Integration with https://0x0.st, envs.sh, ttm.sh, and self-hosted services.")
+      (description
+       "0x0 is a pastebin integration tool. Functionality includes uploading
+the current buffer, a file on your disk, or a string from the kill ring.")
+      (license license:gpl3+))))
+
 (define-public emacs-ac-ispell
   (let ((commit "22bace7387e9012002a6a444922f75f9913077b0")
         (revision "1"))

base-commit: eb508e32d2d359c94d2cabebfe90dc32ca5dcf4f
-- 
2.45.2