2020-09-25 04:45:31 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, buildPythonApplication
|
|
|
|
, pythonOlder
|
|
|
|
, requests
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "legendary-gl"; # Name in pypi
|
2022-09-22 12:36:57 +00:00
|
|
|
version = "0.20.29";
|
2020-09-25 04:45:31 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "derrod";
|
|
|
|
repo = "legendary";
|
2022-06-16 17:23:12 +00:00
|
|
|
rev = "refs/tags/${version}";
|
2022-09-22 12:36:57 +00:00
|
|
|
sha256 = "sha256-yocGjPZzuLHvWQ1EuS+kMxb/6ikfPvKqFmvHK+SyE+E=";
|
2020-09-25 04:45:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ requests ];
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
# no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "legendary" ];
|
|
|
|
|
2020-09-25 04:45:31 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "A free and open-source Epic Games Launcher alternative";
|
|
|
|
homepage = "https://github.com/derrod/legendary";
|
|
|
|
license = licenses.gpl3;
|
2021-02-05 17:12:51 +00:00
|
|
|
maintainers = with maintainers; [ equirosa ];
|
2020-09-25 04:45:31 +00:00
|
|
|
};
|
|
|
|
}
|