forgejo-lts: 7.0.10 -> 7.0.11
[NixPkgs.git] / pkgs / games / legendary-gl / default.nix
bloba802efd66587d49d00b69c4a0c7c0c234ebb1738
1 { lib
2 , gitUpdater
3 , fetchFromGitHub
4 , buildPythonApplication
5 , pythonOlder
6 , requests
7 , filelock
8 }:
10 buildPythonApplication rec {
11   pname = "legendary-gl"; # Name in pypi
12   version = "0.20.34";
14   src = fetchFromGitHub {
15     owner = "derrod";
16     repo = "legendary";
17     rev = "56d439ed2d3d9f34e2b08fa23e627c23a487b8d6";
18     sha256 = "sha256-yCHeeEGw+9gtRMGyIhbStxJhmSM/1Fqly7HSRDkZILQ=";
19   };
21   propagatedBuildInputs = [
22     requests
23     filelock
24   ];
26   disabled = pythonOlder "3.8";
28   # no tests
29   doCheck = false;
31   pythonImportsCheck = [ "legendary" ];
33   meta = with lib; {
34     description = "Free and open-source Epic Games Launcher alternative";
35     homepage = "https://github.com/derrod/legendary";
36     license = licenses.gpl3;
37     maintainers = with maintainers; [ equirosa ];
38     mainProgram = "legendary";
39   };
41   passthru.updateScript = gitUpdater { };