083d0890f5
* Remove package name * Start with upper case letter * Remove trailing period Also reword some descriptions and move some long descriptions to longDescription. I'm not touching generated packages.
33 lines
740 B
Nix
33 lines
740 B
Nix
{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;
|
|
};
|
|
}
|