diff options
author | Peter Simons <simons@cryp.to> | 2010-08-24 08:25:51 +0000 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2010-08-24 08:25:51 +0000 |
commit | 14760d869b34db20bd5e31a24eaafa03ae0b30f5 (patch) | |
tree | 43034b2517bc6b496128268252e60ca9a9ba3ed6 /pkgs/applications/editors/emacs-modes/htmlize | |
parent | ed19b4faf0313d5f5aa8d04ff05fec0a73b92d50 (diff) | |
download | nixlib-14760d869b34db20bd5e31a24eaafa03ae0b30f5.tar nixlib-14760d869b34db20bd5e31a24eaafa03ae0b30f5.tar.gz nixlib-14760d869b34db20bd5e31a24eaafa03ae0b30f5.tar.bz2 nixlib-14760d869b34db20bd5e31a24eaafa03ae0b30f5.tar.lz nixlib-14760d869b34db20bd5e31a24eaafa03ae0b30f5.tar.xz nixlib-14760d869b34db20bd5e31a24eaafa03ae0b30f5.tar.zst nixlib-14760d869b34db20bd5e31a24eaafa03ae0b30f5.zip |
Add Nix expression for Emacs mode htmlize.
svn path=/nixpkgs/trunk/; revision=23382
Diffstat (limited to 'pkgs/applications/editors/emacs-modes/htmlize')
-rw-r--r-- | pkgs/applications/editors/emacs-modes/htmlize/builder.sh | 4 | ||||
-rw-r--r-- | pkgs/applications/editors/emacs-modes/htmlize/default.nix | 16 |
2 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/applications/editors/emacs-modes/htmlize/builder.sh b/pkgs/applications/editors/emacs-modes/htmlize/builder.sh new file mode 100644 index 000000000000..125211f46e38 --- /dev/null +++ b/pkgs/applications/editors/emacs-modes/htmlize/builder.sh @@ -0,0 +1,4 @@ +source $stdenv/setup + +mkdir -p $out/emacs/site-lisp +cp $src $out/emacs/site-lisp/htmlize.el diff --git a/pkgs/applications/editors/emacs-modes/htmlize/default.nix b/pkgs/applications/editors/emacs-modes/htmlize/default.nix new file mode 100644 index 000000000000..e749dfa44864 --- /dev/null +++ b/pkgs/applications/editors/emacs-modes/htmlize/default.nix @@ -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."; + }; +} |