Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
WIP
  • Loading branch information
peterhoeg committed Feb 18, 2020
1 parent 8130f3c commit 466b560
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions pkgs/tools/misc/mht2htm/default.nix
Expand Up @@ -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 ];
Expand All @@ -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.