ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / games / gogdl / default.nix
blob944902bcadc389493a405697b5b8a36d58a81270
1 { lib
2 , buildPythonApplication
3 , fetchFromGitHub
4 , pythonOlder
5 , setuptools
6 , requests
7 }:
9 buildPythonApplication rec {
10   pname = "gogdl";
11   version = "0.4";
12   format = "pyproject";
14   src = fetchFromGitHub {
15     owner = "Heroic-Games-Launcher";
16     repo = "heroic-gogdl";
17     rev = "refs/tags/v${version}";
18     sha256 = "sha256-4hWuGd0Alzd/ZqtN4zG2aid6C9lnT3Ihrrsjfg9PEYA=";
19   };
21   disabled = pythonOlder "3.8";
23   propagatedBuildInputs = [
24     setuptools
25     requests
26   ];
28   pythonImportsCheck = [ "gogdl" ];
30   meta = with lib; {
31     description = "GOG Downloading module for Heroic Games Launcher";
32     homepage = "https://github.com/Heroic-Games-Launcher/heroic-gogdl";
33     license = with licenses; [ gpl3 ];
34     maintainers = with maintainers; [ aidalgol ];
35   };