1 { lib, stdenv, fetchurl, unzip, fpc, lazarus }:
6 in stdenv.mkDerivation rec {
11 # there is a disconnect between the directory name date and file name date
12 # you should verify if that is still then case when the next version is released
13 url = "mirror://sourceforge/mht2htm/mht2htm/1.8.1%20%2805.apr.2016%29/mht2htmcl-${version}_${date}.source.zip";
14 sha256 = "16r6zkihp84yqllp2hyaf0nvymdn9ji3g30mc5scfwycdfanja6f";
19 buildInputs = [ fpc lazarus ];
21 nativeBuildInputs = [ unzip ];
25 lazbuild --lazarusdir=${lazarus}/share/lazarus mht2htmcl.lpi
31 install -Dm755 -t $out/bin mht2htmcl
32 install -Dm644 -t $out/share/doc/mht2htm CHANGELOG COPYING README
37 description = "Convert .mht files to .html";
38 homepage = "http://pgm.bpalanka.com/mht2htm.html";
39 license = licenses.gpl3;
40 maintainers = with maintainers; [ peterhoeg ];
41 platforms = platforms.all;
42 broken = true; # 2018-04-11