summary refs log tree commit diff
diff options
context:
space:
mode:
authorBrian Leung <brian@debian>2019-12-03 22:59:41 -0800
committerBrian Leung <brian@debian>2019-12-07 22:16:36 -0800
commit53097586277d101f803f601a55fa57fa0f8d370c (patch)
tree8bd743fb144646b211ff59304eb85b9e3e2470cc
parent41565d111adf0adcb38f2079c2c09085df909ad7 (diff)
downloadguix-53097586277d101f803f601a55fa57fa0f8d370c.tar.gz
gnu: Add emacs-psession.
* gnu/packages/emacs-xyz.scm (emacs-psession): New variable.
-rw-r--r--gnu/packages/emacs-xyz.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 4fc23ecfff..ece1b6dd70 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -20417,3 +20417,28 @@ on removable volumes in Linux.")
 on removable volumes in Linux.")
       (home-page "https://github.com/Oitofelix/tramp-auto-auth")
       (license license:gpl3+))))
+
+(define-public emacs-psession
+  (let ((commit "3e97267c92b164584e06a6c70ee7491714c7c12c")
+        (revision "1"))
+    (package
+      (name "emacs-psession")
+      (version (git-version "1.5" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/thierryvolpiatto/psession.git")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "15frl618393bc891d0yi3mdxzvbq790a86vfvp3dyd5riz4ddg95"))))
+      (build-system emacs-build-system)
+      (propagated-inputs
+       `(("emacs-async" ,emacs-async)))
+      (synopsis "Persistent save of @code{elisp} objects.")
+      (description "This package provides minor modes for saving Emacs session
+data, including buffers, window configuration, variables, and more.")
+      (home-page "https://github.com/thierryvolpiatto/psession")
+      (license license:gpl3+))))