Add Nix expression for Emacs mode htmlize.
svn path=/nixpkgs/trunk/; revision=23382
This commit is contained in:
parent
ed19b4faf0
commit
14760d869b
4
pkgs/applications/editors/emacs-modes/htmlize/builder.sh
Normal file
4
pkgs/applications/editors/emacs-modes/htmlize/builder.sh
Normal file
@ -0,0 +1,4 @@
|
||||
source $stdenv/setup
|
||||
|
||||
mkdir -p $out/emacs/site-lisp
|
||||
cp $src $out/emacs/site-lisp/htmlize.el
|
16
pkgs/applications/editors/emacs-modes/htmlize/default.nix
Normal file
16
pkgs/applications/editors/emacs-modes/htmlize/default.nix
Normal file
@ -0,0 +1,16 @@
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "htmlize-1.37";
|
||||
|
||||
builder = ./builder.sh;
|
||||
|
||||
src = fetchurl {
|
||||
url = http://fly.srk.fer.hr/~hniksic/emacs/htmlize.el;
|
||||
sha256 = "17sbhf4r6jh4610x8qb2y0y3hww7w33vfsjqg4vrz99pr29xffry";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Convert buffer text and decorations to HTML.";
|
||||
};
|
||||
}
|
@ -5387,6 +5387,8 @@ let
|
||||
|
||||
hol_light_mode = callPackage ../applications/editors/emacs-modes/hol_light { };
|
||||
|
||||
htmlize = callPackage ../applications/editors/emacs-modes/htmlize { };
|
||||
|
||||
magit = callPackage ../applications/editors/emacs-modes/magit { };
|
||||
|
||||
maudeMode = callPackage ../applications/editors/emacs-modes/maude { };
|
||||
|
Loading…
Reference in New Issue
Block a user