depot/third_party/nixpkgs/pkgs/development/libraries/htmlcxx/default.nix
Default email 22017988c6 Project import generated by Copybara.
GitOrigin-RevId: c777cdf5c564015d5f63b09cc93bef4178b19b01
2022-04-27 11:35:20 +02:00

24 lines
581 B
Nix

{ lib, stdenv, fetchurl, 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=";
};
buildInputs = [ libiconv ];
patches = [
./ptrdiff.patch
./c++17.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;
};
}