2015-09-02 18:41:29 +01:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "htmlcxx-${version}";
|
2017-03-13 22:11:03 +00:00
|
|
|
version = "0.86";
|
2015-09-02 18:41:29 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/htmlcxx/htmlcxx/${version}/${name}.tar.gz";
|
2017-03-13 22:11:03 +00:00
|
|
|
sha256 = "1hgmyiad3qgbpf2dvv2jygzj6jpz4dl3n8ds4nql68a4l9g2nm07";
|
2015-09-02 18:41:29 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
patches = [ ./ptrdiff.patch ];
|
|
|
|
|
2017-03-13 22:11:03 +00:00
|
|
|
meta = with stdenv.lib; {
|
2015-09-02 18:41:29 +01:00
|
|
|
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;
|
|
|
|
platforms = platforms.linux;
|
2015-09-02 18:41:29 +01:00
|
|
|
};
|
|
|
|
}
|