From 7ea8e8a363c65f57b71bb656a41ae0e1fcb6e24a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Fri, 18 Apr 2008 14:27:42 +0000 Subject: [PATCH] Add Remember, an Emacs mode to remember things. svn path=/nixpkgs/trunk/; revision=11655 --- .../editors/emacs-modes/remember/default.nix | 39 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 4 ++ 2 files changed, 43 insertions(+) create mode 100644 pkgs/applications/editors/emacs-modes/remember/default.nix diff --git a/pkgs/applications/editors/emacs-modes/remember/default.nix b/pkgs/applications/editors/emacs-modes/remember/default.nix new file mode 100644 index 000000000000..e40ac3da1bf5 --- /dev/null +++ b/pkgs/applications/editors/emacs-modes/remember/default.nix @@ -0,0 +1,39 @@ +{ fetchurl, stdenv, texinfo, emacs, bbdb }: + +stdenv.mkDerivation rec { + name = "remember-2.0"; + src = fetchurl { + url = "http://download.gna.org/remember-el/${name}.tar.gz"; + sha256 = "04bp071xjbb6mbspjpwcza0krgx2827v6rfxbsdcpn0qcjgad9wm"; + }; + + buildInputs = [ emacs texinfo ]; + + patchPhase = '' + sed -i "Makefile.defs" -"es|^PREFIX *=.*$|PREFIX = $out|g" + ''; + + 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+"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c81dc51678ec..d05333c1f4e9 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5583,6 +5583,10 @@ let pkgs = rec { libstdcpp5 = gcc33.gcc; }; + remember = import ../applications/editors/emacs-modes/remember { + inherit fetchurl stdenv texinfo emacs bbdb; + }; + rsync = import ../applications/networking/sync/rsync { inherit fetchurl stdenv; };