diff options
author | 0x4A6F <0x4A6F@users.noreply.github.com> | 2022-02-20 11:24:45 +0100 |
---|---|---|
committer | 0x4A6F <0x4A6F@users.noreply.github.com> | 2022-02-20 11:24:45 +0100 |
commit | 49edd414ef915936a70ce906180372b96cf5a04f (patch) | |
tree | 18c1a4616eb4cc6a2c6de089b84dd9a5047bba50 /pkgs/games | |
parent | 98de8579cdf57c490d06460dc3d2ce29b7dadec9 (diff) |
lgogdownloader: 3.8 -> 3.9
Diffstat (limited to 'pkgs/games')
-rw-r--r-- | pkgs/games/lgogdownloader/default.nix | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/pkgs/games/lgogdownloader/default.nix b/pkgs/games/lgogdownloader/default.nix index 93f17dbb8135d..0c40d537fcec9 100644 --- a/pkgs/games/lgogdownloader/default.nix +++ b/pkgs/games/lgogdownloader/default.nix @@ -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"; |