1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 22:50:49 +00:00
nixpkgs/pkgs/games/lgogdownloader/default.nix
Mariusz `shd` Gliwiński 7bd6aac2d0 lgogdownloader: init at 2.24, fixes #9613
htmlcxx: init at 0.85, dependency of lgogdownloader
2015-09-03 13:09:06 +02:00

30 lines
822 B
Nix

{ 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;
};
}