Remember: Fix tiny things.
svn path=/nixpkgs/trunk/; revision=11680
This commit is contained in:
parent
629754cc94
commit
4c87a1d285
@ -1,16 +1,22 @@
|
|||||||
{ fetchurl, stdenv, texinfo, emacs, bbdb }:
|
{ fetchurl, stdenv, texinfo, emacs, bbdb }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
# Note: Remember is part of GNU Emacs 23.
|
||||||
name = "remember-2.0";
|
name = "remember-2.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://download.gna.org/remember-el/${name}.tar.gz";
|
url = "http://download.gna.org/remember-el/${name}.tar.gz";
|
||||||
sha256 = "04bp071xjbb6mbspjpwcza0krgx2827v6rfxbsdcpn0qcjgad9wm";
|
sha256 = "04bp071xjbb6mbspjpwcza0krgx2827v6rfxbsdcpn0qcjgad9wm";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ emacs texinfo ];
|
# FIXME: It also has a (soft) dependency on Planner and Bibl-mode.
|
||||||
|
buildInputs = [ emacs bbdb texinfo ];
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
sed -i "Makefile.defs" -"es|^PREFIX *=.*$|PREFIX = $out|g"
|
sed -i "Makefile.defs" \
|
||||||
|
-e"s|^ *PREFIX *=.*$|PREFIX = $out|g ;
|
||||||
|
s|^ *ELISPDIR *=.*$|ELISPDIR = $out/share/emacs/site-lisp|g ;
|
||||||
|
s|^ *EMACS *=.*$|EMACS = emacs -L \"${bbdb}/share/emacs/site-lisp\"|g"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
Loading…
Reference in New Issue
Block a user