summary refs log tree commit diff
path: root/pkgs/applications/editors/emacs-modes/railgun/default.nix
blob: 8ca8d1feaa1e8a52ed3de4128f27a823bcffff45 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ stdenv, fetchgit }:

stdenv.mkDerivation {
  name = "railgun-2012-10-17";

  src = fetchgit {
    url = "https://github.com/mbriggs/railgun.el.git";
    rev = "66aaa1b091baef53a69d0d7425f48d184b865fb8";
    sha256 = "00x09vjd3jz5f73qkf5v1y402zn8vl8dsyfwlq9z646p18ba7gyh";
  };

  installPhase = ''
    mkdir -p $out/share/emacs/site-lisp
    cp *.el *.elc $out/share/emacs/site-lisp/
  '';

  meta = {
    description = "Propel yourself through a rails project with the power of magnets";
    homepage = "https://github.com/mbriggs/railgun.el";
    platforms = stdenv.lib.platforms.all;
  };
}