summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorBrian Leung <bkleung89@gmail.com>2019-06-15 04:35:20 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2019-06-25 08:54:37 +0200
commit1bad96495aa598859e547a6a9558f3ab249ec03b (patch)
tree637609973413894e65f8877b0ad2ead358d881b6 /gnu/packages
parenta5d688a1ba78cdc2aa4012354341df10b20ca2b7 (diff)
downloadguix-1bad96495aa598859e547a6a9558f3ab249ec03b.tar.gz
gnu: Add emacs-frecency.
* gnu/packages/emacs-xyz.scm (emacs-frecency): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/emacs-xyz.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index e7ff10f691..da1085cda7 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")