2021-03-15 08:37:03 +00:00
|
|
|
{ lib, stdenv, fetchurl, libiconv }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "htmlcxx";
|
2022-04-27 09:35:20 +00:00
|
|
|
version = "0.87";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2022-04-27 09:35:20 +00:00
|
|
|
url = "mirror://sourceforge/htmlcxx/v${version}/${pname}-${version}.tar.gz";
|
|
|
|
sha256 = "sha256-XTj5OM9N+aKYpTRq8nGV//q/759GD8KgIjPLz6j8dcg=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-03-15 08:37:03 +00:00
|
|
|
buildInputs = [ libiconv ];
|
2022-04-27 09:35:20 +00:00
|
|
|
patches = [
|
|
|
|
./ptrdiff.patch
|
|
|
|
./c++17.patch
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "http://htmlcxx.sourceforge.net/";
|
|
|
|
description = "A simple non-validating css1 and html parser for C++";
|
|
|
|
license = licenses.lgpl2;
|
2021-03-15 08:37:03 +00:00
|
|
|
platforms = platforms.all;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|