Subject: [PATCH] gnu: Add emacs-crdt.

From: [email-masked]
Date: Thu, 14 Jan 2021 15:32:48 -0500

From: Morgan Smith <[email-masked]>

* gnu/packages/emacs-xyz.scm (emacs-crdt): New variable.
---
 gnu/packages/emacs-xyz.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index e35a29cdc3..80ce23170e 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -16184,6 +16184,36 @@ dumb text search, @code{elisp-refs} actually parses the code, so it's never
 confused by comments or @code{foo-bar} matching @code{foo}.")
     (license license:gpl3+)))
 
+(define-public emacs-crdt
+  (let ((commit "44068ae505adf2c3a7bdbf6723a25fc45d6d1666")
+        (revision "0"))
+    (package
+      (name "emacs-crdt")
+      (version (git-version "0.0.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://code.librehq.com/qhong/crdt.el")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "130fkhvi757pfnbz70g6nw2n71k89cwwx7yzvsd5v177228c8w7w"))))
+      (build-system emacs-build-system)
+      (home-page "https://code.librehq.com/qhong/crdt.el")
+      (synopsis "Real-time collaborative editing environment")
+      (description "A real-time collaborative editing environment for Emacs
+using Conflict-free Replicated Data Types.
+
+Its features are:
+@itemize
+@item Share multiple buffer in one session
+@item See other users’ cursor and region
+@item (experimental) synchronize Org mode folding status
+@item Should work with all of Org mode. (If not please submit an issue)
+@end itemize")
+      (license license:gpl3+))))
+
 (define-public emacs-crux
   (let ((commit "308f17d914e2cd79cbc809de66d02b03ceb82859")
         (revision "2"))
-- 
2.30.0