summary refs log tree commit diff
path: root/pkgs/top-level
diff options
context:
space:
mode:
authorAntoine R. Dumont <antoine.romain.dumont@gmail.com>2015-09-25 15:05:41 +0200
committerAntoine R. Dumont (@ardumont) <antoine.romain.dumont@gmail.com>2015-10-01 12:34:19 +0200
commit8755a79cb8c379a91147c0145dac9f8b16531507 (patch)
tree8866b3d258e26e65533b82c2ab94da94497d80fa /pkgs/top-level
parent364667c390da7836ed5d4edcd56bc81eed8b2f6e (diff)
downloadnixlib-8755a79cb8c379a91147c0145dac9f8b16531507.tar
nixlib-8755a79cb8c379a91147c0145dac9f8b16531507.tar.gz
nixlib-8755a79cb8c379a91147c0145dac9f8b16531507.tar.bz2
nixlib-8755a79cb8c379a91147c0145dac9f8b16531507.tar.lz
nixlib-8755a79cb8c379a91147c0145dac9f8b16531507.tar.xz
nixlib-8755a79cb8c379a91147c0145dac9f8b16531507.tar.zst
nixlib-8755a79cb8c379a91147c0145dac9f8b16531507.zip
emacs-packages: yasnippet init at 0.8.1
Diffstat (limited to 'pkgs/top-level')
-rw-r--r--pkgs/top-level/emacs-packages.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/top-level/emacs-packages.nix b/pkgs/top-level/emacs-packages.nix
index 2600fe1b82a6..9a1ba1a52d7f 100644
--- a/pkgs/top-level/emacs-packages.nix
+++ b/pkgs/top-level/emacs-packages.nix
@@ -1506,6 +1506,29 @@ let self = _self // overrides;
     meta = { license = gpl3Plus; };
   };
 
+  yasnippet = melpaBuild rec {
+    pname = "yasnippet";
+    version = "0.8.1";
+    src = fetchFromGitHub {
+      owner  = "capitaomorte";
+      repo   = pname;
+      rev    = "01139a2deb9eda272b9b771fbbe15d096061efa4";
+      sha256 = "1b0bxzkmw7yd1yf6326zf52aq63n283vy57pysj8cc34d9bk6nnk";
+    };
+    meta = {
+      description = "A template system for Emacs";
+      longDescription = ''
+        YASnippet is a template system for Emacs.
+        It allows you to type an abbreviation and automatically expand it into
+        function templates. Bundled language templates include: C, C++, C#,
+        Perl, Python, Ruby, SQL, LaTeX, HTML, CSS and more.
+        The snippet syntax is inspired from TextMate's syntax, you can even import
+        most TextMate templates to YASnippet.
+      '';
+      license = gpl2Plus;
+    };
+  };
+
   zenburn-theme = melpaBuild rec {
     pname   = "zenburn-theme";
     version = "2.2";