2012-02-07 17:39:51 +00:00
|
|
|
{ fetchgit, stdenv, emacs }:
|
|
|
|
|
|
|
|
# TODO: byte-compile in build phase - a buildEmacsPackage that does
|
|
|
|
# that would be nice
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2012-02-07 17:39:54 +00:00
|
|
|
name = "calfw-1.3-5-ga9b6615";
|
2012-02-07 17:39:51 +00:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "git://github.com/kiwanami/emacs-calfw.git";
|
2012-02-07 17:39:54 +00:00
|
|
|
rev = "a9b6615b6666bbebe78257c557fd9a2e3a325d8d";
|
|
|
|
sha256 = "524acc8fec7e64ebe0d370ddb1d96eee6a409d650b79011fa910c35225a7f393";
|
2012-02-07 17:39:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ emacs ];
|
|
|
|
|
|
|
|
installPhase =
|
|
|
|
''
|
2014-06-30 13:56:10 +01:00
|
|
|
mkdir -p "$out/share/doc/${name}"
|
2012-02-07 17:39:51 +00:00
|
|
|
cp -v readme.md "$out/share/doc/${name}"
|
|
|
|
|
2014-06-30 13:56:10 +01:00
|
|
|
mkdir -p "$out/share/emacs/site-lisp/"
|
2012-02-07 17:39:51 +00:00
|
|
|
cp *.el "$out/share/emacs/site-lisp/"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A calendar framework for Emacs";
|
|
|
|
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
2012-02-07 17:39:51 +00:00
|
|
|
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ chaoflow ];
|
|
|
|
platforms = stdenv.lib.platforms.gnu;
|
|
|
|
};
|
|
|
|
}
|