about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/editors/emacs-modes/htmlize/default.nix
blob: c16f449c3a2412fdffde760ffd01ee56b642ead7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ stdenv, fetchFromGitHub }:

stdenv.mkDerivation {
  name = "htmlize-1.47";

  src = fetchFromGitHub {
    owner = "emacsmirror";
    repo = "htmlize";
    rev = "release/1.47";
    name = "htmlize-1.47-src";
    sha256 = "1vkqxgirc82vc44g7xhhr041arf93yirjin3h144kjyfkgkplnkp";
  };

  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";
  };
}