2021-03-11 19:41:17 +01:00
|
|
|
{ lib, stdenv, fetchurl, libiconv }:
|
2015-09-02 19:41:29 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "htmlcxx";
|
2017-03-13 23:11:03 +01:00
|
|
|
version = "0.86";
|
2015-09-02 19:41:29 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 14:41:18 +02:00
|
|
|
url = "mirror://sourceforge/htmlcxx/htmlcxx/${version}/${pname}-${version}.tar.gz";
|
2017-03-13 23:11:03 +01:00
|
|
|
sha256 = "1hgmyiad3qgbpf2dvv2jygzj6jpz4dl3n8ds4nql68a4l9g2nm07";
|
2015-09-02 19:41:29 +02:00
|
|
|
};
|
|
|
|
|
2021-03-11 19:41:17 +01:00
|
|
|
buildInputs = [ libiconv ];
|
2015-09-02 19:41:29 +02:00
|
|
|
patches = [ ./ptrdiff.patch ];
|
|
|
|
|
2021-01-21 18:00:13 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://htmlcxx.sourceforge.net/";
|
2017-03-13 23:11:03 +01:00
|
|
|
description = "A simple non-validating css1 and html parser for C++";
|
|
|
|
license = licenses.lgpl2;
|
2021-03-11 19:41:17 +01:00
|
|
|
platforms = platforms.all;
|
2015-09-02 19:41:29 +02:00
|
|
|
};
|
|
|
|
}
|