3
0
Fork 0
forked from mirrors/nixpkgs

emacs: add "rect-mark"

This commit is contained in:
Mathijs Kwik 2012-08-21 10:33:06 +02:00
parent 192b29181b
commit 85c88d473b
2 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,32 @@
{stdenv, fetchurl, emacs}:
stdenv.mkDerivation rec {
name = "rect-mark-1.4";
src = fetchurl {
url = "http://emacswiki.org/emacs/download/rect-mark.el";
sha256 = "0pyyg53z9irh5jdfvh2qp4pm8qrml9r7lh42wfmdw6c7f56qryh8";
};
phases = [ "buildPhase" "installPhase"];
buildInputs = [ emacs ];
buildPhase = ''
cp $src rect-mark.el
emacs --batch -f batch-byte-compile rect-mark.el
'';
installPhase = ''
install -d $out/share/emacs/site-lisp
install rect-mark.el* $out/share/emacs/site-lisp
'';
meta = {
description = "Mark a rectangle of text with highlighting.";
homepage = http://emacswiki.org/emacs/RectangleMark;
license = "GPLv2+";
platforms = stdenv.lib.platforms.all;
};
}

View file

@ -6751,6 +6751,8 @@ let
quack = callPackage ../applications/editors/emacs-modes/quack { };
rectMark = callPackage ../applications/editors/emacs-modes/rect-mark { };
remember = callPackage ../applications/editors/emacs-modes/remember { };
rudel = callPackage ../applications/editors/emacs-modes/rudel { };