2008-04-18 16:27:42 +02:00
|
|
|
{ fetchurl, stdenv, texinfo, emacs, bbdb }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2008-04-22 11:07:34 +02:00
|
|
|
# Note: Remember is part of GNU Emacs 23.
|
2008-04-18 16:27:42 +02:00
|
|
|
name = "remember-2.0";
|
2008-04-22 11:07:34 +02:00
|
|
|
|
2008-04-18 16:27:42 +02:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://download.gna.org/remember-el/${name}.tar.gz";
|
|
|
|
sha256 = "04bp071xjbb6mbspjpwcza0krgx2827v6rfxbsdcpn0qcjgad9wm";
|
|
|
|
};
|
|
|
|
|
2008-04-22 11:07:34 +02:00
|
|
|
# FIXME: It also has a (soft) dependency on Planner and Bibl-mode.
|
|
|
|
buildInputs = [ emacs bbdb texinfo ];
|
2008-04-18 16:27:42 +02:00
|
|
|
|
|
|
|
patchPhase = ''
|
2008-04-22 11:07:34 +02:00
|
|
|
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"
|
2008-04-18 16:27:42 +02:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Remember, an Emacs mode for quickly remembering data";
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
Remember is an Emacs mode for quickly remembering data. It uses
|
|
|
|
whatever back-end is appropriate to record and correlate the
|
|
|
|
data, but its main intention is to allow you to express as
|
|
|
|
little structure as possible up front.
|
|
|
|
|
|
|
|
When you enter data, either by typing it into a buffer, or using
|
|
|
|
the contents of the selected region, Remember will store that
|
|
|
|
data -- unindexed, uninterpreted -- in a data pool. It will
|
|
|
|
also try to remember as much context information as possible
|
|
|
|
(any text properties that were set, where you copied it from,
|
|
|
|
when, how, etc). Later, you can walk through your accumulated
|
|
|
|
set of data (both organized, and unorganized) and easily begin
|
|
|
|
moving things around, and making annotations that will express
|
|
|
|
the full meaning of that data, as far as you know it.
|
|
|
|
'';
|
|
|
|
|
|
|
|
homepage = http://gna.org/projects/remember-el/;
|
|
|
|
license = "GPLv2+";
|
|
|
|
};
|
|
|
|
}
|