Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / games / legendary-gl / default.nix
blob5fce31eaa837e2be2e156e2527df74cbd76aaa2a
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 = "unstable-2023-10-14";
14   src = fetchFromGitHub {
15     owner = "derrod";
16     repo = "legendary";
17     rev = "450784283dd49152dda6322db2fb2ef33e7c382e";
18     sha256 = "sha256-iwIaxD35tkOX6NX1SVNmN2OQACwaX/C4xnfgT5YcUvg=";
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 = "A 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   };
40   passthru.updateScript = gitUpdater { };