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