Merge pull request #135842 from 0x4A6F/master-lgogdownloader

lgogdownloader: maintainership
This commit is contained in:
Lassulus 2021-09-10 01:10:55 +02:00 committed by GitHub
commit 02fb5847a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,5 @@
{ lib, stdenv
{ lib
, stdenv
, fetchFromGitHub
, cmake
, pkg-config
@ -23,14 +24,37 @@ stdenv.mkDerivation rec {
sha256 = "sha256-LywFJCZevlhthOkAZo7JkXcPT9V6Zh28VD/MVQnMQjo=";
};
nativeBuildInputs = [ cmake pkg-config help2man ];
nativeBuildInputs = [
cmake
pkg-config
help2man
];
buildInputs = [ boost curl htmlcxx jsoncpp liboauth rhash tinyxml-2 ];
buildInputs = [
boost
curl
htmlcxx
jsoncpp
liboauth
rhash
tinyxml-2
];
doInstallCheck = true;
installCheckPhase = ''
if [[ "$("$out/bin/${pname}" --version)" == "LGOGDownloader ${version}" ]]; then
echo '${pname} smoke check passed'
else
echo '${pname} smoke check failed'
return 1
fi
'';
meta = with lib; {
description = "Unofficial downloader to GOG.com for Linux users. It uses the same API as the official GOGDownloader";
homepage = "https://github.com/Sude-/lgogdownloader";
license = licenses.wtfpl;
maintainers = with maintainers; [ _0x4A6F ];
platforms = platforms.linux;
};
}