2012-08-05 01:15:11 +01:00
|
|
|
{ stdenv, fetchgit, emacs }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "pcache-0.2.3";
|
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://github.com/sigma/pcache.git";
|
2012-08-11 10:45:31 +01:00
|
|
|
rev = "fa8f863546e2e8f2fc0a70f5cc766a7f584e01b6";
|
2012-08-05 01:15:11 +01:00
|
|
|
sha256 = "f7cdad5a729b24f96ec69db4adfd19daf45c27aaf3a0267385b252cb2e59daa0";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ emacs ];
|
|
|
|
|
|
|
|
buildPhase = ''
|
|
|
|
emacs --batch -f batch-byte-compile pcache.el
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
install -d $out/share/emacs/site-lisp
|
|
|
|
install pcache.el pcache.elc $out/share/emacs/site-lisp
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Persistent caching for Emacs";
|
|
|
|
homepage = https://github.com/sigma/pcache.el;
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2012-08-05 01:15:11 +01:00
|
|
|
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|