forked from NixOS/nixpkgs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lgogdownloader: init at 2.24, fixes NixOS#9613
htmlcxx: init at 0.85, dependency of lgogdownloader
- Loading branch information
Showing
4 changed files
with
66 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ stdenv, fetchgit, curl, boost, jsoncpp, liboauth, rhash, tinyxml, htmlcxx, help2man }: | ||
|
||
stdenv.mkDerivation rec { | ||
name = "lgogdownloader-${version}"; | ||
version = "2.24"; | ||
|
||
src = fetchgit { | ||
url = "https://github.com/Sude-/lgogdownloader.git"; | ||
rev = "refs/tags/v${version}"; | ||
sha256 = "1h5l4zc22hj4all2w0vfby1rmhpca33g3bhdnqw11w2ligk8j14r"; | ||
}; | ||
|
||
buildInputs = [ curl boost jsoncpp liboauth rhash tinyxml htmlcxx help2man ]; | ||
|
||
buildPhase = '' | ||
make release | ||
''; | ||
|
||
installPhase = '' | ||
make install PREFIX=$out | ||
''; | ||
|
||
meta = { | ||
homepage = https://github.com/Sude-/lgogdownloader; | ||
description = "Unofficial downloader to GOG.com for Linux users. It uses the same API as the official GOGDownloader."; | ||
license = stdenv.lib.licenses.wtfpl; | ||
platforms = stdenv.lib.platforms.linux; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters