31 lines
672 B
Nix
31 lines
672 B
Nix
{ stdenv, fetchgit, emacs }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "logito-0.1";
|
|
|
|
src = fetchgit {
|
|
url = "https://github.com/sigma/logito.git";
|
|
rev = "v0.1";
|
|
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 = {
|
|
description = "tiny logging framework for Emacs";
|
|
homepage = https://github.com/sigma/logito;
|
|
license = "GPLv2+";
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
};
|
|
}
|