1 { lib, stdenv, fetchurl }:
4 name = "html2text-1.3.2a";
7 url = "http://www.mbayer.de/html2text/downloads/html2text-1.3.2a.tar.gz";
8 sha256 = "000b39d5d910b867ff7e087177b470a1e26e2819920dcffd5991c33f6d480392";
12 substituteInPlace configure \
13 --replace /bin/echo echo \
14 --replace CXX=unknown ':'
17 # the --prefix has no effect
19 mkdir -p $out/bin $out/man/man{1,5}
21 cp html2text.1.gz $out/man/man1
22 cp html2textrc.5.gz $out/man/man5
26 description = "Convert HTML to plain text";
27 homepage = "http://www.mbayer.de/html2text/";
28 license = lib.licenses.gpl2Plus;
29 platforms = lib.platforms.unix;
30 maintainers = [ lib.maintainers.eikek ];