Merge pull request #8627 from kquick/fix/htmlize-source-location

htmlize: update source location
This commit is contained in:
Arseniy Seroka 2015-07-04 03:04:43 +03:00
commit 1fd18a0d86
2 changed files with 12 additions and 10 deletions

View file

@ -1,4 +0,0 @@
source $stdenv/setup
mkdir -p $out/share/emacs/site-lisp
cp $src $out/share/emacs/site-lisp/htmlize.el

View file

@ -1,15 +1,21 @@
{ stdenv, fetchurl }: { stdenv, fetchFromGitHub }:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "htmlize-1.47"; name = "htmlize-1.47";
builder = ./builder.sh; src = fetchFromGitHub {
owner = "emacsmirror";
src = fetchurl { repo = "htmlize";
url = http://fly.srk.fer.hr/~hniksic/emacs/htmlize.el.cgi; rev = "release/1.47";
sha256 = "0m7lby95w9sj0xlqv39imlbp80x8ajd295cs6079jyhmryf6mr10"; name = "htmlize-1.47-src";
sha256 = "1vkqxgirc82vc44g7xhhr041arf93yirjin3h144kjyfkgkplnkp";
}; };
installPhase = ''
mkdir -p $out/share/emacs/site-lisp
cp htmlize.el $out/share/emacs/site-lisp/
'';
meta = { meta = {
description = "Convert buffer text and decorations to HTML"; description = "Convert buffer text and decorations to HTML";
}; };