2012-08-05 02:14:53 +02:00
|
|
|
{ stdenv, fetchgit, emacs }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "logito-0.1";
|
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://github.com/sigma/logito.git";
|
2012-08-11 11:45:31 +02:00
|
|
|
rev = "824acb89d2cc18cb47281a4fbddd81ad244a2052";
|
2012-08-05 02:14:53 +02:00
|
|
|
sha256 = "b9a7433417eafc5bc158f63dddf559b2044368eb3061f0264169de319c68fe4a";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ emacs ];
|
|
|
|
|
|
|
|
buildPhase = ''
|
|
|
|
emacs --batch -f batch-byte-compile logito.el
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
install -d $out/share/emacs/site-lisp
|
|
|
|
install logito.el logito.elc $out/share/emacs/site-lisp
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2016-06-20 12:53:46 +02:00
|
|
|
description = "Tiny logging framework for Emacs";
|
2012-08-05 02:14:53 +02:00
|
|
|
homepage = https://github.com/sigma/logito;
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2012-08-05 02:14:53 +02:00
|
|
|
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|