summary refs log tree commit diff
path: root/pkgs/applications/editors/emacs-modes/apel/default.nix
blob: 7036dc3bcc5b028b856e513306281e4d61e5480d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{stdenv, fetchgit, emacs}:

stdenv.mkDerivation rec {
  name = "apel-git";

  src = fetchgit {
    url = "http://github.com/wanderlust/apel";
    rev = "beca6c4fc58fdc0f8923b320265ec5a304850f50";
  };

  buildInputs = [emacs];

  preConfigure = ''
    cat << EOF > APEL-CFG
    (setq APEL_DIR "$out/share/emacs/site-lisp/apel")
    (setq EMU_DIR "$out/share/emacs/site-lisp/emu")
    EOF
  '';

  meta = {
    description = "APEL";
    homepage = http://nya.org/;
    license = "GPL";
  };
}