Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / htmlcxx / default.nix
blob41e86b275fe4ac71b8b04c36e765e9db1fd4a777
1 { lib, stdenv, fetchurl, autoreconfHook, libiconv }:
3 stdenv.mkDerivation rec {
4   pname = "htmlcxx";
5   version = "0.87";
7   src = fetchurl {
8     url = "mirror://sourceforge/htmlcxx/v${version}/${pname}-${version}.tar.gz";
9     sha256 = "sha256-XTj5OM9N+aKYpTRq8nGV//q/759GD8KgIjPLz6j8dcg=";
10   };
12   nativeBuildInputs = [ autoreconfHook ];
13   buildInputs = [ libiconv ];
14   patches = [
15     ./ptrdiff.patch
16     ./c++17.patch
17   ];
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   };