depot/third_party/nixpkgs/pkgs/development/libraries/htmlcxx/default.nix
Default email 8ec1fd4587 Project import generated by Copybara.
GitOrigin-RevId: 266dc8c3d052f549826ba246d06787a219533b8f
2021-03-15 09:37:03 +01:00

21 lines
565 B
Nix

{ lib, stdenv, fetchurl, libiconv }:
stdenv.mkDerivation rec {
pname = "htmlcxx";
version = "0.86";
src = fetchurl {
url = "mirror://sourceforge/htmlcxx/htmlcxx/${version}/${pname}-${version}.tar.gz";
sha256 = "1hgmyiad3qgbpf2dvv2jygzj6jpz4dl3n8ds4nql68a4l9g2nm07";
};
buildInputs = [ libiconv ];
patches = [ ./ptrdiff.patch ];
meta = with lib; {
homepage = "http://htmlcxx.sourceforge.net/";
description = "A simple non-validating css1 and html parser for C++";
license = licenses.lgpl2;
platforms = platforms.all;
};
}