blob: 4b01162bf25bc0c28af5c142b2208ae93493e74c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
{ lib, stdenv, fetchurl, autoreconfHook, libiconv }:
stdenv.mkDerivation rec {
pname = "htmlcxx";
version = "0.87";
src = fetchurl {
url = "mirror://sourceforge/htmlcxx/v${version}/${pname}-${version}.tar.gz";
sha256 = "sha256-XTj5OM9N+aKYpTRq8nGV//q/759GD8KgIjPLz6j8dcg=";
};
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ libiconv ];
patches = [
./ptrdiff.patch
./c++17.patch
];
meta = with lib; {
homepage = "https://htmlcxx.sourceforge.net/";
description = "Simple non-validating css1 and html parser for C++";
mainProgram = "htmlcxx";
license = licenses.lgpl2;
platforms = platforms.all;
};
}
|