nixpkgs/pkgs/applications/editors/emacs-modes/htmlize/default.nix

23 lines
483 B
Nix
Raw Normal View History

2015-07-03 23:33:26 +01:00
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation {
2013-03-21 19:56:25 +00:00
name = "htmlize-1.47";
2015-07-03 23:33:26 +01:00
src = fetchFromGitHub {
owner = "emacsmirror";
repo = "htmlize";
rev = "release/1.47";
name = "htmlize-1.47-src";
sha256 = "1vkqxgirc82vc44g7xhhr041arf93yirjin3h144kjyfkgkplnkp";
};
2015-07-03 23:33:26 +01:00
installPhase = ''
mkdir -p $out/share/emacs/site-lisp
cp htmlize.el $out/share/emacs/site-lisp/
'';
meta = {
description = "Convert buffer text and decorations to HTML";
};
}