nixpkgs/pkgs/applications/editors/emacs-modes/railgun/default.nix
Matthew Bauer 47a854ae01 emacs: add missing packages
this fixes eval for nix-env -qaA nixpkgs.emacsPackagesNg
2017-11-12 18:43:35 -06:00

23 lines
594 B
Nix

{ 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;
};
}