lgogdownloader: 3.8 -> 3.9

This commit is contained in:
0x4A6F 2022-02-20 11:24:45 +01:00
parent 98de8579cd
commit 49edd414ef
No known key found for this signature in database
GPG Key ID: 8DEDBA5BE07080E1

View File

@ -11,17 +11,19 @@
, rhash
, tinyxml-2
, help2man
, testVersion
, lgogdownloader
}:
stdenv.mkDerivation rec {
pname = "lgogdownloader";
version = "3.8";
version = "3.9";
src = fetchFromGitHub {
owner = "Sude-";
repo = "lgogdownloader";
rev = "v${version}";
sha256 = "sha256-LywFJCZevlhthOkAZo7JkXcPT9V6Zh28VD/MVQnMQjo=";
sha256 = "sha256-Qt9uTKsD0kQ6b9Y5+eC+YWpCHMIJGzP+pMfuUBt/fME=";
};
nativeBuildInputs = [
@ -40,15 +42,9 @@ stdenv.mkDerivation rec {
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
'';
passthru.tests = {
version = testVersion { package = lgogdownloader; };
};
meta = with lib; {
description = "Unofficial downloader to GOG.com for Linux users. It uses the same API as the official GOGDownloader";