diff options
author | Mariusz `shd` GliwiĆski <alienballance@gmail.com> | 2015-09-02 19:41:29 +0200 |
---|---|---|
committer | Rok Garbas <rok@garbas.si> | 2015-09-03 13:09:06 +0200 |
commit | 7bd6aac2d0881d6ac17d684e36234913094286bb (patch) | |
tree | 0ce658caf1a5bd0368abd15a3c28c212cb6f3787 /pkgs/development/libraries/htmlcxx | |
parent | f223448d5d0fe07a939c6b67d01a2b6ab724c4cf (diff) | |
download | nixpkgs-7bd6aac2d0881d6ac17d684e36234913094286bb.tar nixpkgs-7bd6aac2d0881d6ac17d684e36234913094286bb.tar.gz nixpkgs-7bd6aac2d0881d6ac17d684e36234913094286bb.tar.bz2 nixpkgs-7bd6aac2d0881d6ac17d684e36234913094286bb.tar.lz nixpkgs-7bd6aac2d0881d6ac17d684e36234913094286bb.tar.xz nixpkgs-7bd6aac2d0881d6ac17d684e36234913094286bb.tar.zst nixpkgs-7bd6aac2d0881d6ac17d684e36234913094286bb.zip |
lgogdownloader: init at 2.24, fixes #9613
htmlcxx: init at 0.85, dependency of lgogdownloader
Diffstat (limited to 'pkgs/development/libraries/htmlcxx')
-rw-r--r-- | pkgs/development/libraries/htmlcxx/default.nix | 20 | ||||
-rw-r--r-- | pkgs/development/libraries/htmlcxx/ptrdiff.patch | 13 |
2 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/development/libraries/htmlcxx/default.nix b/pkgs/development/libraries/htmlcxx/default.nix new file mode 100644 index 00000000000..63cc7477385 --- /dev/null +++ b/pkgs/development/libraries/htmlcxx/default.nix @@ -0,0 +1,20 @@ +{ stdenv, fetchurl }: + +stdenv.mkDerivation rec { + name = "htmlcxx-${version}"; + version = "0.85"; + + src = fetchurl { + url = "mirror://sourceforge/htmlcxx/htmlcxx/${version}/${name}.tar.gz"; + sha256 = "1rdsjrcjkf7mi3182lq4v5wn2wncw0ziczagaqnzi0nwmp2a00mb"; + }; + + patches = [ ./ptrdiff.patch ]; + + meta = { + homepage = http://htmlcxx.sourceforge.net/; + description = "htmlcxx is a simple non-validating css1 and html parser for C++."; + license = stdenv.lib.licenses.lgpl2; + platforms = stdenv.lib.platforms.linux; + }; +} diff --git a/pkgs/development/libraries/htmlcxx/ptrdiff.patch b/pkgs/development/libraries/htmlcxx/ptrdiff.patch new file mode 100644 index 00000000000..6348ba24f8d --- /dev/null +++ b/pkgs/development/libraries/htmlcxx/ptrdiff.patch @@ -0,0 +1,13 @@ +diff -rc htmlcxx-orig-0.85/html/tree.h htmlcxx-0.85/html/tree.h +*** htmlcxx-orig-0.85/html/tree.h 2015-09-02 13:57:17.988688798 +0200 +--- htmlcxx-0.85/html/tree.h 2015-09-02 13:57:52.737768811 +0200 +*************** +*** 45,50 **** +--- 45,51 ---- + #ifndef tree_hh_ + #define tree_hh_ + ++ #include <cstddef> + #include <cassert> + #include <memory> + #include <stdexcept> |