mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
lgogdownloader: 3.8 -> 3.9
This commit is contained in:
parent
98de8579cd
commit
49edd414ef
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user