nixpkgs/pkgs/development/libraries/htmlcxx/default.nix

22 lines
565 B
Nix
Raw Normal View History

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