Skip to content
Permalink
Browse files

WIP

  • Loading branch information
peterhoeg committed Feb 18, 2020
1 parent 8130f3c commit 466b560744209a2173c767e6795226c8e2ee2720
Showing with 13 additions and 7 deletions.
  1. +13 −7 pkgs/tools/misc/mht2htm/default.nix
@@ -3,17 +3,23 @@
let
date = "07.apr.2016";

in stdenv.mkDerivation rec {
pname = "mht2mht";
in
stdenv.mkDerivation rec {
pname = "mht2htm";
version = "1.8.1.35";

src = fetchurl {
# there is a disconnect between the directory name date and file name date
# you should verify if that is still then case when the next version is released
url = "mirror://sourceforge/mht2htm/mht2htm/1.8.1%20%2805.apr.2016%29/mht2htmcl-${version}_${date}.source.zip";
url = "mirror://sourceforge/mht2htm/mht2htm/1.8.1%20%2805.apr.2016%29/mht2htmcl-${version}_${date}.source.zip";
sha256 = "16r6zkihp84yqllp2hyaf0nvymdn9ji3g30mc5scfwycdfanja6f";
};

postPatch = ''
substituteInPlace mht2htmcl.lpr \
--replace fileutil 'fileutil, LazUtf8'
'';

sourceRoot = ".";

buildInputs = [ fpc lazarus ];
@@ -35,10 +41,10 @@ in stdenv.mkDerivation rec {

meta = with stdenv.lib; {
description = "Convert .mht files to .html";
homepage = http://pgm.bpalanka.com/mht2htm.html;
license = licenses.gpl3;
homepage = "http://pgm.bpalanka.com/mht2htm.html";
license = licenses.gpl3;
maintainers = with maintainers; [ peterhoeg ];
platforms = platforms.all;
broken = true; # 2018-04-11
platforms = platforms.all;
# broken = true; # 2018-04-11
};
}

0 comments on commit 466b560

Please sign in to comment.
You can’t perform that action at this time.