2014-01-06 11:19:13 +00:00
|
|
|
{ stdenv, fetchgit, emacs }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-03-02 07:17:22 +00:00
|
|
|
name = "idris-mode-20140223";
|
2014-01-06 11:19:13 +00:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = https://github.com/idris-hackers/idris-mode.git;
|
2014-03-02 07:17:22 +00:00
|
|
|
rev = "486470533e74c55192e92a1afa050475915ee1e7";
|
|
|
|
sha256 = "ff2e6bd8fbf421e8f2db0789d2ff56c5103775b911b99bab64e4652d332bad43";
|
2014-01-06 11:19:13 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ emacs ];
|
|
|
|
|
|
|
|
buildPhase = ''
|
|
|
|
emacs -L . --batch -f batch-byte-compile *.el
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
install -d $out/share/emacs/site-lisp
|
|
|
|
install *.el *.elc $out/share/emacs/site-lisp
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Emacs major mode for Idris";
|
2014-02-04 13:56:42 +00:00
|
|
|
homepage = https://github.com/idris-hackers/idris-mode;
|
2014-01-06 11:19:13 +00:00
|
|
|
license = "GPLv3";
|
|
|
|
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|