2023-01-11 07:51:40 +00:00
|
|
|
{ lib, stdenv, fetchurl, autoreconfHook, 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
|
|
|
};
|
|
|
|
|
2023-01-11 07:51:40 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
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; {
|
2023-02-02 18:25:31 +00:00
|
|
|
homepage = "https://htmlcxx.sourceforge.net/";
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Simple non-validating css1 and html parser for C++";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "htmlcxx";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.lgpl2;
|
2021-03-15 08:37:03 +00:00
|
|
|
platforms = platforms.all;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|