about summary refs log tree commit diff
path: root/emacs.nix
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2018-06-28T09·01+0200
committerVincent Ambo <mail@tazj.in>2018-06-28T09·01+0200
commitd14bc8e2931d5fae6ac5be3513bd091211ebae26 (patch)
tree2483547014a6fab9b649a73a0692a5140c72e0c2 /emacs.nix
parent328b692ae9329f375c2cdd8446984e39d12a3425 (diff)
feat(emacs): Add a newer version of sly from git
Diffstat (limited to 'emacs.nix')
-rw-r--r--emacs.nix21
1 files changed, 20 insertions, 1 deletions
diff --git a/emacs.nix b/emacs.nix
index 242b5960ba08..5ff20d75a430 100644
--- a/emacs.nix
+++ b/emacs.nix
@@ -109,6 +109,25 @@ ivy-prescient = emacsPackagesNg.melpaBuild {
   '';
 };
 
+sly = emacsPackagesNg.melpaBuild {
+  pname           = "sly";
+  version         = "20180613";
+  packageRequires = [ elpaPackages.company ];
+
+  src = fetchFromGitHub {
+    owner  = "joaotavora";
+    repo   = "sly";
+    rev    = "a05b45f1564a86a9d49707c9c570da6c3a56b6e5";
+    sha256 = "1c9xzppxlnak1px0dv0ljpp4izfj4377lncvrcb1jaiyh8z8ry48";
+  };
+
+  recipeFile = writeText "sly-recipe" ''
+    (sly :files ("*.el"
+                 ("lib" "lib/*")
+                 ("contrib" "contrib/*")))
+  '';
+};
+
 in emacsWithPackages(epkgs:
   # Actual ELPA packages (the enlightened!)
   (with epkgs.elpaPackages; [
@@ -169,5 +188,5 @@ in emacsWithPackages(epkgs:
   (lib.attrValues newIvy) ++
 
   # Custom packaged Emacs packages:
-  [ nix-mode eglot prescient ivy-prescient pkgs.notmuch ]
+  [ nix-mode eglot prescient ivy-prescient pkgs.notmuch sly ]
 )