@@ -0,0 +1,30 @@
1+{ lib
2+, fetchFromGitHub
3+, buildPythonApplication
4+, pythonOlder
5+, requests
6+}:
7+
8+buildPythonApplication rec {
9+ pname = "legendary-gl"; # Name in pypi
10+ version = "0.0.14";
11+
12+ src = fetchFromGitHub {
13+ owner = "derrod";
14+ repo = "legendary";
15+ rev = version;
16+ sha256 = "05r88qi8mmbj07wxcpb3fhbl40qscbq1aqb0mnj9bpmi9gf5zll5";
17+ };
18+
19+ propagatedBuildInputs = [ requests ];
20+
21+ disabled = pythonOlder "3.8";
22+
23+ meta = with lib; {
24+ description = "A free and open-source Epic Games Launcher alternative";
25+ homepage = "https://github.com/derrod/legendary";
26+ license = licenses.gpl3;
27+ maintainers = with maintainers; [ wchresta ];
28+ };
29+}
30+