guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

18/30: gnu: Add emacs-frecency.


From: guix-commits
Subject: 18/30: gnu: Add emacs-frecency.
Date: Tue, 25 Jun 2019 02:56:22 -0400 (EDT)

ngz pushed a commit to branch master
in repository guix.

commit 1bad96495aa598859e547a6a9558f3ab249ec03b
Author: Brian Leung <address@hidden>
Date:   Sat Jun 15 04:35:20 2019 +0200

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

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index e7ff10f..da1085c 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -10135,6 +10135,32 @@ outline-mode), so there is no such thing like an 
outshine mode, only
 @code{outline-minor-mode} with outshine extensions loaded.")
     (license license:gpl3+)))
 
+(define-public emacs-frecency
+  (let ((commit "31ef9ff4af1a4fed3dcc24ea74037feea8795c87")
+        (version "0.1-pre")
+        (revision "1"))
+    (package
+      (name "emacs-frecency")
+      (version (git-version version revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/alphapapa/frecency.el";)
+                      (commit commit)))
+                (sha256
+                 (base32
+                  "051aihjdg3x22svaxhwylpi8i6s2x9j8syvsj1jgilgjjdy15l6j"))
+                (file-name (git-file-name name version))))
+      (build-system emacs-build-system)
+      (propagated-inputs
+       `(("emacs-a" ,emacs-a)
+         ("emacs-dash" ,emacs-dash)))
+      (home-page "https://github.com/alphapapa/frecency.el";)
+      (synopsis "Sort items by frequency and recency of access")
+      (description "This package provides a way of sorting items via
+a heuristic based on frequency and recency.")
+      (license license:gpl3+))))
+
 (define-public emacs-parsebib
   (package
     (name "emacs-parsebib")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]