From 14760d869b34db20bd5e31a24eaafa03ae0b30f5 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Tue, 24 Aug 2010 08:25:51 +0000 Subject: Add Nix expression for Emacs mode htmlize. svn path=/nixpkgs/trunk/; revision=23382 --- pkgs/applications/editors/emacs-modes/htmlize/builder.sh | 4 ++++ .../applications/editors/emacs-modes/htmlize/default.nix | 16 ++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 pkgs/applications/editors/emacs-modes/htmlize/builder.sh create mode 100644 pkgs/applications/editors/emacs-modes/htmlize/default.nix (limited to 'pkgs/applications/editors/emacs-modes/htmlize') 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."; + }; +} -- cgit 1.4.1